Skip to content

Commit 12b547b

Browse files
Remove warnings
1 parent 22354ec commit 12b547b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

ext/hyper_ruby/src/lib.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
use magnus::block::block_proc;
22
use magnus::r_hash::ForEach;
33
use magnus::typed_data::Obj;
4-
use magnus::value::{InnerValue, Opaque};
5-
use magnus::{block, function, gc, method, prelude::*, DataTypeFunctions, Error as MagnusError, RClass, RObject, RString, RTypedData, Ruby, TypedData, Value};
4+
use magnus::value::Opaque;
5+
use magnus::{function, gc, method, prelude::*, DataTypeFunctions, Error as MagnusError, RString, Ruby, TypedData, Value};
66
use bytes::Bytes;
77

8-
use std::ops::Deref;
9-
use std::os::unix::raw::uid_t;
10-
use std::{cell::Cell, ffi::c_void, marker::PhantomData, mem::MaybeUninit, ptr::null_mut};
8+
use std::{ffi::c_void, mem::MaybeUninit, ptr::null_mut};
119

12-
use rb_sys::{
13-
rb_gc_guard, rb_str_locktmp, rb_str_modify_expand, rb_str_set_len, rb_str_unlocktmp,
14-
rb_thread_call_without_gvl, RSTRING_PTR,
15-
};
10+
use rb_sys::rb_thread_call_without_gvl;
1611

1712
use warp::Filter;
1813
use warp::http::Response as WarpResponse;

0 commit comments

Comments
 (0)