mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 07:20:20 +08:00
Update ch19-04-advanced-types.md (#84)
This commit is contained in:
parent
cffa0d7d45
commit
57cdd6fc14
@ -106,7 +106,7 @@ pub trait Write {
|
|||||||
fn flush(&mut self) -> Result<()>;
|
fn flush(&mut self) -> Result<()>;
|
||||||
|
|
||||||
fn write_all(&mut self, buf: &[u8]) -> Result<()>;
|
fn write_all(&mut self, buf: &[u8]) -> Result<()>;
|
||||||
fn write_fmt(&mut self, fmt: Arguments) -> Result<()>;
|
fn write_fmt(&mut self, fmt: fmt::Arguments) -> Result<()>;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user