Update idioms/rustdoc-init.md

Co-authored-by: Ivan Tham <pickfire@riseup.net>
pull/97/head
Tom Kaitchuck 4 years ago committed by GitHub
parent 46493aa6c1
commit 2a44fbdb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ impl Connection {
/// Sends a request over the connection.
/// # Example
/// ```no_run
/// # //This is some really borring boiler plate to get an example working.
/// # // Boilerplate are required to get an example working.
/// # let stream = TcpStream::connect("127.0.0.1:34254");
/// # let connection = Connection{ name: "Foo".to_owned(), stream: stream };
/// # let request = Request::new("ReuqestId", RequestType::Get, "dummy_payload");

Loading…
Cancel
Save