mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
fix clippy::unnecessary_mut_passed: function arg is not required to be mutable
This commit is contained in:
parent
a1c22122da
commit
f6b1857353
@ -162,7 +162,7 @@ impl<'a, 'tcx> SpecializedEncoder<ExpnId> for EncodeContext<'a, 'tcx> {
|
||||
fn specialized_encode(&mut self, expn: &ExpnId) -> Result<(), Self::Error> {
|
||||
rustc_span::hygiene::raw_encode_expn_id(
|
||||
*expn,
|
||||
&mut self.hygiene_ctxt,
|
||||
&self.hygiene_ctxt,
|
||||
ExpnDataEncodeMode::Metadata,
|
||||
self,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user