Adapt codebase to the tool_lints
This commit is contained in:
committed by
Manish Goregaokar
parent
cfd4c538d4
commit
f3bb161f0e
@@ -364,7 +364,7 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
|
||||
}.hash(&mut self.s);
|
||||
}
|
||||
|
||||
#[allow(many_single_char_names)]
|
||||
#[allow(clippy::many_single_char_names)]
|
||||
pub fn hash_expr(&mut self, e: &Expr) {
|
||||
if let Some(e) = constant_simple(self.cx, self.tables, e) {
|
||||
return e.hash(&mut self.s);
|
||||
|
||||
Reference in New Issue
Block a user