Skip to content

Commit

Permalink
gigasecond: add stub with type signature (#306)
Browse files Browse the repository at this point in the history
The signature of the function is not at all obvious.
  • Loading branch information
leoyvens authored and petertseng committed Jun 20, 2017
1 parent 772d684 commit 4a76221
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions exercises/gigasecond/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extern crate chrono;
use chrono::*;

// Returns a UTC DateTime one billion seconds after start.
pub fn after(start: DateTime<UTC>) -> DateTime<UTC> {
unimplemented!()
}

0 comments on commit 4a76221

Please sign in to comment.