From 4f01c6ba1fb2136cce6c76b89f28b0209a294c99 Mon Sep 17 00:00:00 2001 From: 16yuki0702 Date: Mon, 6 Jul 2020 11:48:51 +0900 Subject: [PATCH] Modify comments --- src/mod/use.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/use.md b/src/mod/use.md index 44cef988cc..8860bc20b4 100644 --- a/src/mod/use.md +++ b/src/mod/use.md @@ -44,10 +44,11 @@ fn main() { // This is equivalent to `use deeply::nested::function as function`. // This `function()` will shadow the outer one. use crate::deeply::nested::function; - function(); // `use` bindings have a local scope. In this case, the // shadowing of `function()` is only in this block. + function(); + println!("Leaving block"); }