Zum Inhalt springen

Globale Variablen

static NAME: &str = "Crab";
fn main() {
unsafe {
NAME = "Ferris";
}
let name = unsafe {
NAME
}
}
Play