From 914cda7cc984c79165d5038e07132fdb94780cee Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Sun, 14 Jan 2018 09:28:41 -0800 Subject: Deny unused qualifications --- src/sys/statvfs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sys/statvfs.rs') diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs index fbd0570e..e4b00b37 100644 --- a/src/sys/statvfs.rs +++ b/src/sys/statvfs.rs @@ -61,12 +61,12 @@ pub struct Statvfs(libc::statvfs); impl Statvfs { /// get the file system block size - pub fn block_size(&self) -> libc::c_ulong { + pub fn block_size(&self) -> c_ulong { self.0.f_bsize } /// Get the fundamental file system block size - pub fn fragment_size(&self) -> libc::c_ulong { + pub fn fragment_size(&self) -> c_ulong { self.0.f_frsize } @@ -113,7 +113,7 @@ impl Statvfs { } /// Get the maximum filename length - pub fn name_max(&self) -> libc::c_ulong { + pub fn name_max(&self) -> c_ulong { self.0.f_namemax } -- cgit v1.2.3