From 062905e7d7aaf156f2602b043bc532b80d9d6caa Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Tue, 17 Jan 2023 14:25:33 +0000 Subject: [PATCH] There's no name involved here. --- src/unsafe/mutable-static-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unsafe/mutable-static-variables.md b/src/unsafe/mutable-static-variables.md index 5fa0f7cf..2560bd54 100644 --- a/src/unsafe/mutable-static-variables.md +++ b/src/unsafe/mutable-static-variables.md @@ -6,7 +6,7 @@ It is safe to read an immutable static variable: static HELLO_WORLD: &str = "Hello, world!"; fn main() { - println!("name is: {}", HELLO_WORLD); + println!("HELLO_WORLD: {}", HELLO_WORLD); } ```