From fdcf44e1463e708cd8b612c183e302db9af0febd Mon Sep 17 00:00:00 2001 From: Leah Date: Fri, 23 Mar 2018 13:54:12 +0100 Subject: Change the way ids and some enums are made (#295) This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`. --- src/internal/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/timer.rs') diff --git a/src/internal/timer.rs b/src/internal/timer.rs index fa2fcc2..18ca672 100644 --- a/src/internal/timer.rs +++ b/src/internal/timer.rs @@ -14,7 +14,7 @@ impl Timer { Timer { due: Utc::now() + duration, - duration: duration, + duration, } } -- cgit v1.2.3