We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ffb33f commit 3626477Copy full SHA for 3626477
src/uu/wc/src/countable.rs
@@ -24,7 +24,6 @@ pub trait WordCountable: AsFd + AsRawFd + Read {
24
pub trait WordCountable: Read {
25
type Buffered: BufRead;
26
fn buffered(self) -> Self::Buffered;
27
- #[cfg(not(target_os = "wasi"))]
28
fn inner_file(&mut self) -> Option<&mut File>;
29
}
30
@@ -41,8 +40,6 @@ impl WordCountable for StdinLock<'_> {
41
40
fn buffered(self) -> Self::Buffered {
42
self
43
44
-
45
46
fn inner_file(&mut self) -> Option<&mut File> {
47
None
48
@@ -65,7 +62,6 @@ impl WordCountable for File {
65
62
BufReader::new(self)
66
63
67
64
68
69
70
Some(self)
71
0 commit comments