Hacker News new | ask | show | jobs
by bestouff 702 days ago
Or even better:

    let span = Span::days(5).hours(8).minutes(1);
1 comments

I believe this could actually not work. You would need a `fn days(n: i64) -> Span` and a `fn days(self, n: i64) -> Span` to exist at the same time, which Rust does not allow.