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 1e62aa59f8
commit 7e416d0c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,8 +42,8 @@ impl Connection {
## Example
Instead of typing all of this boiler plate to create an `Connection` and `Request` it is easier to just create a wrapping dummy function which takes them as arguments:
```rust
```rust
struct Connection {
name: String,
stream: TcpStream,

Loading…
Cancel
Save