Something went wrong. Try again.
looking at tangled strings
Something went wrong. Try again.
144 B · 4 lines · Created 5h ago Rust
1234fn main() { let my_str = unsafe { std::mem::transmute::<&str, &'static str>(String::from("hello world").as_ref()) }; println!("{my_str}");}