diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-08-12 16:25:21 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-08-13 11:31:48 -0700 |
| commit | 02e39b05c6d3b9f553076af7273233e161bb76a3 (patch) | |
| tree | c39d9c7937d6126c110c036856663a59af2d5dff /src/libstd | |
| parent | 49a40d8ad15b69410f24423d86954268d1f1503b (diff) | |
| download | rust-02e39b05c6d3b9f553076af7273233e161bb76a3.tar.gz rust-02e39b05c6d3b9f553076af7273233e161bb76a3.zip | |
Add a fixme about Duration representation
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/time/duration.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/time/duration.rs b/src/libstd/time/duration.rs index 2fc7f47dc21..545d1f2aab4 100644 --- a/src/libstd/time/duration.rs +++ b/src/libstd/time/duration.rs @@ -34,6 +34,8 @@ macro_rules! try_opt( ($e:expr) => (match $e { Some(v) => v, None => return None }) ) + +// FIXME #16466: This could be represented as (i64 seconds, u32 nanos) /// ISO 8601 time duration with nanosecond precision. /// This also allows for the negative duration; see individual methods for details. #[deriving(PartialEq, Eq, PartialOrd, Ord)] |
