You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/epoch/mod.rs
+26-4
Original file line number
Diff line number
Diff line change
@@ -113,11 +113,15 @@ impl<'de> Deserialize<'de> for Epoch {
113
113
// Defines the methods that should be classmethods in Python, but must be redefined as per https://github.com/PyO3/pyo3/issues/1003#issuecomment-844433346
114
114
implEpoch{
115
115
#[must_use]
116
-
/// Converts self to another time scale
116
+
/// Converts self to another time scale, using the leap second provider for any conversion involving leap seconds
117
117
///
118
118
/// As per the [Rust naming convention](https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv),
119
119
/// this borrows an Epoch and returns an owned Epoch.
/// Note that this is a shortcut to to_time_scale_with_leap_seconds with the LatestLeapSeconds.
255
+
/// As per the [Rust naming convention](https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv),
256
+
/// this borrows an Epoch and returns an owned Epoch.
0 commit comments