2021-09-06 11:17:46 -05:00
|
|
|
// check-pass
|
|
|
|
|
|
|
|
use std::io::Write;
|
|
|
|
|
|
|
|
fn main() -> Result<(), std::io::Error> {
|
|
|
|
vec! { 1, 2, 3 }.len();
|
|
|
|
write! { vec![], "" }?;
|
2021-09-13 10:50:59 -05:00
|
|
|
println!{""}
|
|
|
|
[0]; // separate statement, not indexing into the result of println.
|
2021-09-06 11:17:46 -05:00
|
|
|
Ok(())
|
|
|
|
}
|