Skip to content

Commit

Permalink
Fix basic example from on the readme file (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
rutaihwa authored and tomusdrw committed Nov 27, 2019
1 parent b6e7521 commit d2e0bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Transport-agnostic `core` and transport servers for `http`, `ipc`, `websockets`
### Basic Usage (with HTTP transport)

```rust
use jsonrpc_core::{IoHandler, Value, Params};
use jsonrpc_http_server::jsonrpc_core::{IoHandler, Value, Params};
use jsonrpc_http_server::{ServerBuilder};

fn main() {
Expand All @@ -71,7 +71,7 @@ fn main() {
.start_http(&"127.0.0.1:3030".parse().unwrap())
.unwrap();

server.wait().unwrap();
server.wait();
}
```

Expand Down

0 comments on commit d2e0bb7

Please sign in to comment.