Skip to content

Commit 229c694

Browse files
authored
Merge pull request #1359 from 16yuki0702/modify_comments
Modify comments
2 parents 6f94ccb + 4f01c6b commit 229c694

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)