mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-22 13:38:04 +08:00
19 lines
299 B
Rust
19 lines
299 B
Rust
// ANCHOR: here
|
|
use std::fmt::Result;
|
|
use std::io::Result as IoResult;
|
|
|
|
fn function1() -> Result {
|
|
// --snip--
|
|
// ANCHOR_END: here
|
|
Ok(())
|
|
// ANCHOR: here
|
|
}
|
|
|
|
fn function2() -> IoResult<()> {
|
|
// --snip--
|
|
// ANCHOR_END: here
|
|
Ok(())
|
|
// ANCHOR: here
|
|
}
|
|
// ANCHOR_END: here
|