mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 21:32:15 +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
|