Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Feb 18, 2021
1 parent 4fc48dd commit c5216a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ pub fn init_panic_handler() {
};

if let Some(err) = crate::Value::named("Rust_exception") {
crate::Error::raise_value(&mut rt, err, msg);
crate::Error::raise_value(&rt, err, msg);
}

crate::Error::raise_failure(&mut rt, msg)
crate::Error::raise_failure(&rt, msg)
}))
}

Expand Down
1 change: 1 addition & 0 deletions sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::upper_case_acronyms)]
#![no_std]

pub type Char = cty::c_char;
Expand Down

0 comments on commit c5216a9

Please sign in to comment.