diff options
Diffstat (limited to 'src/tty.rs')
-rw-r--r-- | src/tty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -162,7 +162,7 @@ struct Passwd<'a> { /// # Unsafety /// /// If `buf` is changed while `Passwd` is alive, bad thing will almost certainly happen. -fn get_pw_entry<'a>(buf: &'a mut [i8; 1024]) -> Passwd<'a> { +fn get_pw_entry(buf: &mut [i8; 1024]) -> Passwd { // Create zeroed passwd struct let mut entry: libc::passwd = unsafe { ::std::mem::uninitialized() }; |