mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 21:17:46 +00:00
Merge pull request #580 from jbcrail/remove-unused-feature
Remove unused feature from cat.
This commit is contained in:
commit
4e2cd4dd24
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#![crate_name = "cat"]
|
#![crate_name = "cat"]
|
||||||
#![feature(rustc_private, unsafe_destructor)]
|
#![feature(rustc_private)]
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the uutils coreutils package.
|
* This file is part of the uutils coreutils package.
|
||||||
|
@ -336,7 +336,6 @@ impl<'a, W: Write> Write for UnsafeWriter<'a, W> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unsafe_destructor]
|
|
||||||
impl<'a, W: Write> Drop for UnsafeWriter<'a, W> {
|
impl<'a, W: Write> Drop for UnsafeWriter<'a, W> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
let _ = self.flush_buf();
|
let _ = self.flush_buf();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue