We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79fef3c commit b4ea477Copy full SHA for b4ea477
datetime.rs
@@ -311,7 +311,7 @@ mod tests {
311
312
}
313
314
- fn test_time<T: Eq + fmt::Default + Clone + ::Time>(i: T) {
+ fn test_time<T: Eq + fmt::Show + Clone + ::Time>(i: T) {
315
error!("{}, {}", i, time_str(i.clone()));
316
let tm = i.tm();
317
let i2: T = ::Time::from_tm(&tm);
@@ -335,7 +335,7 @@ mod tests {
335
test_time(-86399999999999_i64);
336
337
338
- fn test_date<T: Eq + fmt::Default + Clone + ::Date>(i: T) {
+ fn test_date<T: Eq + fmt::Show + Clone + ::Date>(i: T) {
339
error!("{} {}", i, date_str(i.clone()));
340
341
let i2: T = ::Date::from_tm(&tm);
0 commit comments