Skip to content

Commit 1e7c8f1

Browse files
author
Árni Dagur
committed
Remove old comment
1 parent f1e4c85 commit 1e7c8f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/shadow.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ impl From<&libc::spwd> for Shadow {
8686
Shadow {
8787
name: unsafe { CStr::from_ptr(spwd.sp_namp).to_string_lossy().into_owned() },
8888
password: unsafe { CString::new(CStr::from_ptr(spwd.sp_pwdp).to_bytes()).unwrap() },
89-
// These casts are necessary to convert the C `long int`
90-
// integers (which can be either 32 or 64 bits, depending on
91-
// the CPU architecture) into 64 bit integers.
9289
last_change: spwd.sp_lstchg,
9390
min: spwd.sp_min,
9491
max: spwd.sp_max,

0 commit comments

Comments
 (0)