“Fix” some warnings

This commit is contained in:
Benjamin Sago
2017-09-22 12:54:47 +01:00
parent d8db0ee8d2
commit bd32f2134d
+3
View File
@@ -29,6 +29,9 @@
//! best bet is to check for them yourself before passing strings into any
//! functions.
#![allow(missing_copy_implementations)] // for the C structs
use std::ffi::{CStr, CString};
use std::fmt;
use std::ptr::read;