inline sink function
This commit is contained in:
parent
5610b9a6b6
commit
21c44df76e
|
@ -199,4 +199,5 @@ impl std::io::Write for Sink {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a sink to which all writes succeed. See [`std::io::sink`] for more info.
|
/// Returns a sink to which all writes succeed. See [`std::io::sink`] for more info.
|
||||||
|
#[inline]
|
||||||
pub fn sink() -> Sink { Sink }
|
pub fn sink() -> Sink { Sink }
|
||||||
|
|
Loading…
Reference in New Issue