1
Fork 0

refactor: use shorthand fields

This commit is contained in:
teresy 2018-11-06 15:05:44 -05:00
parent 1dceaddfbe
commit eca11b99a7
57 changed files with 68 additions and 68 deletions

View file

@ -217,7 +217,7 @@ mod inner {
impl From<libc::timespec> for SystemTime {
fn from(t: libc::timespec) -> SystemTime {
SystemTime { t: Timespec { t: t } }
SystemTime { t: Timespec { t } }
}
}
@ -332,7 +332,7 @@ mod inner {
impl From<libc::timespec> for SystemTime {
fn from(t: libc::timespec) -> SystemTime {
SystemTime { t: Timespec { t: t } }
SystemTime { t: Timespec { t } }
}
}