From ad7a0fd4e5df8fe33d8e82b0ecdd297b3a0d7d44 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Sat, 17 Nov 2018 12:10:23 +0100 Subject: [PATCH] Fix for rust 1.20.0 --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index aeb36269..2abe3a36 100644 --- a/src/types.rs +++ b/src/types.rs @@ -40,7 +40,7 @@ pub struct DateTime { second: u8, } -impl std::default::Default for DateTime { +impl ::std::default::Default for DateTime { /// Constructs an 'default' datetime of 1980-01-01 00:00:00 fn default() -> DateTime { DateTime {