]> git.lizzy.rs Git - rust.git/commit
Remove result type from raw standard streams constructors
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Thu, 20 Aug 2020 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Fri, 21 Aug 2020 11:17:20 +0000 (13:17 +0200)
commit479c23bb493e4ea801c125cfc54e70723a9aeeb5
tree0e55f5ac72d4f5665022c17811801add186e7160
parent32cb8d40eb4382bd67510c0f06fc855063f0fde8
Remove result type from raw standard streams constructors

Raw standard streams constructors are infallible. Remove unnecessary
result type.
library/std/src/io/stdio.rs
library/std/src/sys/cloudabi/stdio.rs
library/std/src/sys/hermit/stdio.rs
library/std/src/sys/sgx/stdio.rs
library/std/src/sys/unix/stdio.rs
library/std/src/sys/unsupported/stdio.rs
library/std/src/sys/vxworks/stdio.rs
library/std/src/sys/wasi/stdio.rs
library/std/src/sys/windows/stdio.rs
library/std/src/sys/windows/stdio_uwp.rs