Skip to content

Commit aa47c00

Browse files
committed
Fix the sample output in the README example
The code was fixed in #868, but the sample output is still incorrect.
1 parent 7587c17 commit aa47c00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Hello, Chashu! I've put in an order for 4 shoes
9898
$ curl localhost:8080/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
9999
```
100100
```text
101-
number too large to fit in target type
101+
Hello, Mary Millipede! I've put in an order for 750 shoes
102102
```
103103

104104
See more examples in the [examples](https://github.com/http-rs/tide/tree/main/examples) directory.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
//! Hello, Chashu! I've put in an order for 4 shoes
5050
//!
5151
//! $ curl localhost:8080/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
52-
//! number too large to fit in target type
52+
//! Hello, Mary Millipede! I've put in an order for 750 shoes
5353
//! ```
5454
//! See more examples in the [examples](https://github.com/http-rs/tide/tree/main/examples) directory.
5555

0 commit comments

Comments
 (0)