-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Jackson Lewis edited this page Jan 31, 2020
·
1 revision
Welcome to the cascade wiki!
let c = cascade! {
Vec::new();
if vec.len() == 0 {
println!("No semicolon at the end!");
}
println!("This looks much closer to an actual block!");
}
cascade! {
v: vec!(1, 2, 3);
..push(4);
println!("{:?}", v);
()
}