From 009c29069c1cf188e6d1935292c288c22d57cc04 Mon Sep 17 00:00:00 2001
From: daubaris <paulius.daubaris@gmail.com>
Date: Tue, 4 Sep 2018 18:56:48 +0300
Subject: [PATCH] switched to ticks for chars

---
 clippy_lints/src/ranges.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clippy_lints/src/ranges.rs b/clippy_lints/src/ranges.rs
index 22fcdf0fc0f..f9cdffea79c 100644
--- a/clippy_lints/src/ranges.rs
+++ b/clippy_lints/src/ranges.rs
@@ -149,7 +149,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
                         let start = start.map_or("".to_owned(), |x| Sugg::hir(cx, x, "x").to_string());
                         let end = Sugg::hir(cx, y, "y");
                         if let Some(is_wrapped) = &snippet_opt(cx, expr.span) {
-                            if is_wrapped.starts_with("(") && is_wrapped.ends_with(")") {
+                            if is_wrapped.starts_with('(') && is_wrapped.ends_with(')') {
                                 db.span_suggestion(expr.span,
                                            "use",
                                            format!("({}..={})", start, end));