mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-13 14:52:46 +00:00
9c9aa2db52
Remove redundant `expect_local()` call The field `owner` of `HirId` is `LocalDefId` and `hir_id.owner.to_def_id().expect_local()` is redundant. I wonder they were introduced in some rustups. changelog: none |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |