diff options
| author | İsmail Arılık <arilik.ismail@gmail.com> | 2023-07-30 11:37:52 +0300 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2023-07-30 13:23:23 +0200 |
| commit | b24d9a3b330d6c52ea2fb0fa19e89891f866b206 (patch) | |
| tree | 2f75feba2c362e8923d4be15255ffc0a318bd2d0 /src/doc/rustc-dev-guide | |
| parent | 0b00d663e39b6d3d0296d689d1324a6db17ff8da (diff) | |
| download | rust-b24d9a3b330d6c52ea2fb0fa19e89891f866b206.tar.gz rust-b24d9a3b330d6c52ea2fb0fa19e89891f866b206.zip | |
fix(name-resolution): remove unnecessary closing paranthesis
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/name-resolution.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/name-resolution.md b/src/doc/rustc-dev-guide/src/name-resolution.md index 93c2a3eb70f..fbeef19ff3a 100644 --- a/src/doc/rustc-dev-guide/src/name-resolution.md +++ b/src/doc/rustc-dev-guide/src/name-resolution.md @@ -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) |
