mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Fix a broken clippy lint
This commit is contained in:
1 parent
196c9981bc
commit
104f4dc7ec
2 files changed
+4
No files matched your search
@@ -647,6 +647,8 @@ impl<W: Write> Writer<W> {
|
||||
}
|
||||
|
||||
/// Finishes writing and returns the output.
|
||||
// See https://github.com/rust-lang/rust-clippy/issues/4979.
|
||||
#[allow(clippy::missing_const_for_fn)]
|
||||
pub fn finish(self) -> W {
|
||||
self.out
|
||||
}
|
||||
|
||||
@@ -1859,6 +1859,8 @@ impl<W: Write> Writer<W> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// See https://github.com/rust-lang/rust-clippy/issues/4979.
|
||||
#[allow(clippy::missing_const_for_fn)]
|
||||
pub fn finish(self) -> W {
|
||||
self.out
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user