From 24eebb6df96d037aad285e4f7793bd0393a66878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Ar=C4=B1l=C4=B1k?= Date: Sun, 30 Jul 2023 11:37:52 +0300 Subject: [PATCH] fix(name-resolution): remove unnecessary closing paranthesis --- src/name-resolution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/name-resolution.md b/src/name-resolution.md index 93c2a3eb70fa8..fbeef19ff3a06 100644 --- a/src/name-resolution.md +++ b/src/name-resolution.md @@ -117,7 +117,7 @@ fn do_something(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)