mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: complete doc (#8070)
This commit is contained in:
@ -45,7 +45,7 @@ pub fn (t1 Time) >= (t2 Time) bool {
|
||||
return t1 > t2 || t1 == t2
|
||||
}
|
||||
|
||||
// Time subtract using eperator overloading
|
||||
// Time subtract using operator overloading.
|
||||
[inline]
|
||||
pub fn (lhs Time) - (rhs Time) Duration {
|
||||
lhs_micro := lhs.unix * 1000 * 1000 + u64(lhs.microsecond)
|
||||
|
Reference in New Issue
Block a user