Merge pull request #822 from Manishearth/fix-820

fix #820
This commit is contained in:
llogiq 2016-04-01 10:40:58 +02:00
commit 45bb75bee2

View File

@ -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)
}
}