Skip to content

Commit

Permalink
Merge pull request #60 from dylanahsmith/fix-unused-import-warning
Browse files Browse the repository at this point in the history
Fix unused import warning
  • Loading branch information
matsadler committed Feb 13, 2023
2 parents cf50184 + a571ba9 commit aae4917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ mod private {
/// [`function`](crate::function!) macros for converting functions to an
/// implementor of this trait.
///
/// This trait is implimented for the following function signatures:
/// This trait is implemented for the following function signatures:
///
/// | Arity | Signature |
/// |-------|--------------------------------------------------------------|
Expand Down
4 changes: 2 additions & 2 deletions tests/bytes.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use magnus::{eval, RString};

#[test]
#[cfg(feature = "bytes-crate")]
fn it_converts_to_bytes() {
use magnus::{eval, RString};

let _cleanup = unsafe { magnus::embed::init() };

let s: RString = unsafe { eval("[0,0,0].pack('c*')").unwrap() };
Expand Down

0 comments on commit aae4917

Please sign in to comment.