inline sink function

This commit is contained in:
Tobin C. Harding 2023-11-29 11:17:59 +11:00
parent 5610b9a6b6
commit 21c44df76e
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 0 deletions

View File

@ -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.
#[inline]
pub fn sink() -> Sink { Sink }