From 53c49c71cbfc5caed07d6c8d016c606e8c98220a Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Thu, 2 Nov 2017 19:52:40 +1300
Subject: [PATCH] Fix Clippy warning

---
 maud_lints/src/util.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/maud_lints/src/util.rs b/maud_lints/src/util.rs
index 9877b30..82d2d62 100644
--- a/maud_lints/src/util.rs
+++ b/maud_lints/src/util.rs
@@ -20,8 +20,7 @@ pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
 
     impl ty::item_path::ItemPathBuffer for AbsolutePathBuffer {
         fn root_mode(&self) -> &ty::item_path::RootMode {
-            const ABSOLUTE: &'static ty::item_path::RootMode = &ty::item_path::RootMode::Absolute;
-            ABSOLUTE
+            &ty::item_path::RootMode::Absolute
         }
 
         fn push(&mut self, text: &str) {