From 325b1759bca80833e84826989b752f818ecbb898 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Fri, 22 Dec 2023 21:12:57 +0100 Subject: [PATCH] Remove useless references --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index de019fa..c27eccc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -841,8 +841,8 @@ impl Pattern { false } AnyChar => true, - AnyWithin(ref specifiers) => in_char_specifiers(&specifiers, c, options), - AnyExcept(ref specifiers) => !in_char_specifiers(&specifiers, c, options), + AnyWithin(ref specifiers) => in_char_specifiers(specifiers, c, options), + AnyExcept(ref specifiers) => !in_char_specifiers(specifiers, c, options), Char(c2) => chars_eq(c, c2, options.case_sensitive), AnySequence | AnyRecursiveSequence => unreachable!(), } {