refactor: cleanup redundant call (#17226)

This commit is contained in:
Geert-Jan Zwiers 2022-12-31 05:04:17 +01:00 committed by GitHub
parent 98bbf87742
commit f729576b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,6 @@ impl Mappings {
self
.mappings
.get(specifier)
.as_ref()
.unwrap_or_else(|| {
panic!("Could not find local path for {}", specifier)
})