You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-26 10:41:01 +02:00
There's no name involved here.
This commit is contained in:
@ -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);
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user