1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 13:20:37 +02:00

Fix clippy errors. (#187)

This commit is contained in:
Robert Gabriel Jakabosky
2020-09-06 17:41:42 +08:00
committed by GitHub
parent 7632f51509
commit 88d99ac89c
2 changed files with 4 additions and 4 deletions

View File

@ -624,7 +624,7 @@ impl ResourceDef {
}
if !for_prefix {
re.push_str("$");
re.push('$');
}
(re, elems, true, pattern.chars().count())
}