diff options
| author | Ayush Singh <ayushdevel1325@gmail.com> | 2023-09-03 12:35:03 +0530 |
|---|---|---|
| committer | Ayush Singh <ayushdevel1325@gmail.com> | 2023-09-03 12:35:03 +0530 |
| commit | 56df6b81898efcdf4d486eb9baa16e1273f3c08e (patch) | |
| tree | cf33233ddff39f1464af6ea5f407abb57e89bcf9 /library/std/src/sys/mod.rs | |
| parent | 33e796bbe1eaeadb3146060d7b47b97865582d52 (diff) | |
| download | rust-56df6b81898efcdf4d486eb9baa16e1273f3c08e.tar.gz rust-56df6b81898efcdf4d486eb9baa16e1273f3c08e.zip | |
Move RawOsError defination to sys
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
Diffstat (limited to 'library/std/src/sys/mod.rs')
| -rw-r--r-- | library/std/src/sys/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs index beea3f23c2d..63bd783746b 100644 --- a/library/std/src/sys/mod.rs +++ b/library/std/src/sys/mod.rs @@ -110,3 +110,5 @@ pub fn log_wrapper<F: Fn(f64) -> f64>(n: f64, log_fn: F) -> f64 { pub fn log_wrapper<F: Fn(f64) -> f64>(n: f64, log_fn: F) -> f64 { log_fn(n) } + +pub type RawOsError = i32; |
