trpl-zh-cn/listings/ch07-managing-growing-projects/listing-07-15/src/lib.rs
2022-02-06 16:43:51 +08:00

19 lines
278 B
Rust
Executable File

// ANCHOR: here
use std::fmt;
use std::io;
fn function1() -> fmt::Result {
// --snip--
// ANCHOR_END: here
Ok(())
// ANCHOR: here
}
fn function2() -> io::Result<()> {
// --snip--
// ANCHOR_END: here
Ok(())
// ANCHOR: here
}
// ANCHOR_END: here