File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
library/std/src/sys/wasi/ext Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -145,36 +145,36 @@ impl IntoRawFd for fs::File {
145
145
146
146
impl AsRawFd for io:: Stdin {
147
147
fn as_raw_fd ( & self ) -> RawFd {
148
- libc:: STDIN_FILENO
148
+ libc:: STDIN_FILENO as RawFd
149
149
}
150
150
}
151
151
152
152
impl AsRawFd for io:: Stdout {
153
153
fn as_raw_fd ( & self ) -> RawFd {
154
- libc:: STDOUT_FILENO
154
+ libc:: STDOUT_FILENO as RawFd
155
155
}
156
156
}
157
157
158
158
impl AsRawFd for io:: Stderr {
159
159
fn as_raw_fd ( & self ) -> RawFd {
160
- libc:: STDERR_FILENO
160
+ libc:: STDERR_FILENO as RawFd
161
161
}
162
162
}
163
163
164
164
impl < ' a > AsRawFd for io:: StdinLock < ' a > {
165
165
fn as_raw_fd ( & self ) -> RawFd {
166
- libc:: STDIN_FILENO
166
+ libc:: STDIN_FILENO as RawFd
167
167
}
168
168
}
169
169
170
170
impl < ' a > AsRawFd for io:: StdoutLock < ' a > {
171
171
fn as_raw_fd ( & self ) -> RawFd {
172
- libc:: STDOUT_FILENO
172
+ libc:: STDOUT_FILENO as RawFd
173
173
}
174
174
}
175
175
176
176
impl < ' a > AsRawFd for io:: StderrLock < ' a > {
177
177
fn as_raw_fd ( & self ) -> RawFd {
178
- libc:: STDERR_FILENO
178
+ libc:: STDERR_FILENO as RawFd
179
179
}
180
180
}
You can’t perform that action at this time.
0 commit comments