mirror of
https://github.com/dnlbauer/xdrfile.git
synced 2026-09-11 06:35:30 +00:00
Suppressed or corrected hints and warnings
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
//! assert_eq!(first_atom_coords, [-0.8901, 0.4127, -0.055499997]);
|
||||
//! }
|
||||
//! Err(msg) => {
|
||||
//! panic!("Something went wrong: {}", msg);
|
||||
//! panic!("Something went wrong: {}", msg);
|
||||
//! }
|
||||
//! }
|
||||
//! ```
|
||||
@@ -104,6 +104,7 @@ fn path_to_cstring(path: &Path) -> CString {
|
||||
/// A safe wrapper around the c implementation of an XDRFile
|
||||
struct XDRFile {
|
||||
xdrfile: *mut XDRFILE,
|
||||
#[allow(dead_code)]
|
||||
filemode: FileMode,
|
||||
path: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user