Auto merge of #115493 - Ayush1325:raw-os-error, r=workingjubilee

Move RawOsError defination to sys

This was originally a part of https://github.com/rust-lang/rust/pull/105861, but I feel it should be its own PR since the raw os error is still unstable.
This commit is contained in:
bors 2023-09-04 08:04:00 +00:00
commit ce798a52c3
3 changed files with 3 additions and 4 deletions

View file

@ -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;