Skip to content

Commit

Permalink
style: remove needless lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki authored and BurntSushi committed Jan 9, 2020
1 parent eff5348 commit 98bc904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regex-syntax/src/unicode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ enum CanonicalClassQuery {

/// Looks up a Unicode class given a query. If one doesn't exist, then
/// `None` is returned.
pub fn class<'a>(query: ClassQuery<'a>) -> Result<hir::ClassUnicode> {
pub fn class(query: ClassQuery) -> Result<hir::ClassUnicode> {
use self::CanonicalClassQuery::*;

match query.canonicalize()? {
Expand Down

0 comments on commit 98bc904

Please sign in to comment.