mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
278 B
19 lines
278 B
3 years ago
|
// 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
|