1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod abc; use std::io::{ self, Result as IoResult }; fn z() -> IoResult<()> { println!("Hello, world!"); Ok(()) } fn main () { // abc::rose::hello(); let r = z(); println!("{:?}", r); abc::home::pr(); }