Skip to content

Commit

Permalink
fix the rust docs examples
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Dec 14, 2020
1 parent a80cde4 commit bbdaf68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dropshot/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use std::net::SocketAddr;
* r##"
* [http_api_server]
* bind_address = "127.0.0.1:12345"
* request_body_max_bytes = 1024
*
* ## ... (other app-specific config)
* "##
Expand Down
1 change: 1 addition & 0 deletions dropshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
* HttpServer::new(
* &ConfigDropshot {
* bind_address: "127.0.0.1:0".parse().unwrap(),
* request_body_max_bytes: 1024,
* },
* api,
* Arc::new(()),
Expand Down

0 comments on commit bbdaf68

Please sign in to comment.