From 7e416d0c995496758d0ea4ad6a89209fcc348753 Mon Sep 17 00:00:00 2001 From: Tom Kaitchuck Date: Sun, 26 Jul 2020 23:47:06 -0700 Subject: [PATCH] Update idioms/rustdoc-init.md Co-authored-by: Ivan Tham --- idioms/rustdoc-init.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idioms/rustdoc-init.md b/idioms/rustdoc-init.md index 889041a..ff4fff0 100644 --- a/idioms/rustdoc-init.md +++ b/idioms/rustdoc-init.md @@ -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,