From 4c6c84e0a19539a4c5e742e02387ec17efe68d0a Mon Sep 17 00:00:00 2001 From: Andre Bogus Date: Fri, 1 Apr 2016 10:33:17 +0200 Subject: [PATCH] fix #820 --- src/methods.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/methods.rs b/src/methods.rs index 3ba6bfc9b41f..646cd319a0cd 100644 --- a/src/methods.rs +++ b/src/methods.rs @@ -302,7 +302,8 @@ impl LintPass for MethodsPass { CLONE_ON_COPY, CLONE_DOUBLE_REF, NEW_RET_NO_SELF, - SINGLE_CHAR_PATTERN) + SINGLE_CHAR_PATTERN, + SEARCH_IS_SOME) } }