Skip to content

Commit 4f01c6b

Browse files
committed
Modify comments
1 parent 6f94ccb commit 4f01c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mod/use.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ fn main() {
4444
// This is equivalent to `use deeply::nested::function as function`.
4545
// This `function()` will shadow the outer one.
4646
use crate::deeply::nested::function;
47-
function();
4847
4948
// `use` bindings have a local scope. In this case, the
5049
// shadowing of `function()` is only in this block.
50+
function();
51+
5152
println!("Leaving block");
5253
}
5354

0 commit comments

Comments
 (0)