提交 c99116af 编写于 作者: S Stefan Lankes

remove unused function

上级 71d41d9e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册