mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-19 11:18:02 +08:00
19 lines
278 B
Rust
19 lines
278 B
Rust
// 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
|