From 680c9d8f97ba36aefe23ef2fdaea202b0c536cc5 Mon Sep 17 00:00:00 2001 From: Keiichi Watanabe Date: Mon, 27 Apr 2020 02:10:34 +0900 Subject: [PATCH] Fix an inline comment in macros/repeat.md --- src/macros/repeat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macros/repeat.md b/src/macros/repeat.md index a3431ef51c..04c3b7da66 100644 --- a/src/macros/repeat.md +++ b/src/macros/repeat.md @@ -9,7 +9,7 @@ match one or more expression, separated by commas. Also note that the semicolon is optional on the last case. ```rust,editable -// `min!` will calculate the minimum of any number of arguments. +// `find_min!` will calculate the minimum of any number of arguments. macro_rules! find_min { // Base case: ($x:expr) => ($x); @@ -25,4 +25,4 @@ fn main() { println!("{}", find_min!(1u32 + 2, 2u32)); println!("{}", find_min!(5u32, 2u32 * 3, 4u32)); } -``` \ No newline at end of file +```