From f806e0694b7862c4115cee6a8debf9acd81465ed Mon Sep 17 00:00:00 2001 From: Jim Turner Date: Tue, 3 Sep 2019 18:47:13 -0400 Subject: [PATCH] Improve formatting of azip docs --- src/zip/zipmacro.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zip/zipmacro.rs b/src/zip/zipmacro.rs index c4f77e9c8..47cceddf5 100644 --- a/src/zip/zipmacro.rs +++ b/src/zip/zipmacro.rs @@ -12,7 +12,9 @@ /// Is equivalent to: /// /// ```rust,ignore -/// Zip::from(&mut a).and(&b).and(&c).apply(|a, &b, &c| *a = b + c); +/// Zip::from(&mut a).and(&b).and(&c).apply(|a, &b, &c| { +/// *a = b + c +/// }); /// ``` /// /// The syntax is either