Skip to content

Commit d2e0bb7

Browse files
rutaihwatomusdrw
authored andcommitted
Fix basic example from on the readme file (#523)
1 parent b6e7521 commit d2e0bb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Transport-agnostic `core` and transport servers for `http`, `ipc`, `websockets`
5757
### Basic Usage (with HTTP transport)
5858

5959
```rust
60-
use jsonrpc_core::{IoHandler, Value, Params};
60+
use jsonrpc_http_server::jsonrpc_core::{IoHandler, Value, Params};
6161
use jsonrpc_http_server::{ServerBuilder};
6262

6363
fn main() {
@@ -71,7 +71,7 @@ fn main() {
7171
.start_http(&"127.0.0.1:3030".parse().unwrap())
7272
.unwrap();
7373

74-
server.wait().unwrap();
74+
server.wait();
7575
}
7676
```
7777

0 commit comments

Comments
 (0)