Move RawOsError defination to sys

Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
This commit is contained in:
Ayush Singh 2023-09-03 12:35:03 +05:30
parent 33e796bbe1
commit 56df6b8189
No known key found for this signature in database
GPG key ID: 05CEF5C789E55A74
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;