1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-06 14:35:36 +02:00

There's no name involved here.

This commit is contained in:
Andrew Walbran
2023-01-17 14:25:33 +00:00
parent e0cb292624
commit 062905e7d7

View File

@ -6,7 +6,7 @@ It is safe to read an immutable static variable:
static HELLO_WORLD: &str = "Hello, world!"; static HELLO_WORLD: &str = "Hello, world!";
fn main() { fn main() {
println!("name is: {}", HELLO_WORLD); println!("HELLO_WORLD: {}", HELLO_WORLD);
} }
``` ```