Skip to content

Commit

Permalink
fix(name-resolution): remove unnecessary closing paranthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailarilik authored and tshepang committed Jul 30, 2023
1 parent d9128a9 commit 24eebb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/name-resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fn do_something<T: Default>(val: T) { // <- New rib in both types and values (1)
}; // End of (3)
// `val` is accessible, `helper` variable shadows `helper` function
fn helper() { // <- New rib in both types and values (4)
// `val` is not accessible here, (4) is not transparent for locals)
// `val` is not accessible here, (4) is not transparent for locals
// `T` is not accessible here
} // End of (4)
let val = T::default(); // New rib (5)
Expand Down

0 comments on commit 24eebb6

Please sign in to comment.