fix(name-resolution): remove unnecessary closing paranthesis
This commit is contained in:
parent
0f86bd1480
commit
f6c4e6529f
|
|
@ -117,7 +117,7 @@ fn do_something<T: Default>(val: T) { // <- New rib in both types and values (1)
|
||||||
}; // End of (3)
|
}; // End of (3)
|
||||||
// `val` is accessible, `helper` variable shadows `helper` function
|
// `val` is accessible, `helper` variable shadows `helper` function
|
||||||
fn helper() { // <- New rib in both types and values (4)
|
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
|
// `T` is not accessible here
|
||||||
} // End of (4)
|
} // End of (4)
|
||||||
let val = T::default(); // New rib (5)
|
let val = T::default(); // New rib (5)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue