refactor: use shorthand fields
This commit is contained in:
parent
1dceaddfbe
commit
eca11b99a7
57 changed files with 68 additions and 68 deletions
|
@ -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 } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue