remove unused function
This commit is contained in:
parent
71d41d9e9f
commit
c99116afe3
@ -23,12 +23,6 @@ pub fn init() -> io::Result<()> {
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Socket(abi::Handle);
|
||||
|
||||
impl Socket {
|
||||
fn new(handle: abi::Handle) -> Socket {
|
||||
Socket(handle)
|
||||
}
|
||||
}
|
||||
|
||||
impl AsInner<abi::Handle> for Socket {
|
||||
fn as_inner(&self) -> &abi::Handle {
|
||||
&self.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user