Skip to content

Commit c5098a9

Browse files
authored
Merge pull request #764 from jswrenn/patch-1
Fix port in `curl` invocation in example.
2 parents 88d552e + 57fada2 commit c5098a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
//! ````
4545
//!
4646
//! ```sh
47-
//! $ curl localhost:8000/orders/shoes -d '{ "name": "Chashu", "legs": 4 }'
47+
//! $ curl localhost:8080/orders/shoes -d '{ "name": "Chashu", "legs": 4 }'
4848
//! Hello, Chashu! I've put in an order for 4 shoes
4949
//!
50-
//! $ curl localhost:8000/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
50+
//! $ curl localhost:8080/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
5151
//! number too large to fit in target type
5252
//! ```
5353
//! See more examples in the [examples](https://github.com/http-rs/tide/tree/main/examples) directory.

0 commit comments

Comments
 (0)