Remove unnecessary clone call for panic_strategy
This commit is contained in:
parent
5f5ea79611
commit
ca60c404b6
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ impl CrateMetadata {
|
|||
}
|
||||
|
||||
pub fn panic_strategy(&self) -> PanicStrategy {
|
||||
self.root.panic_strategy.clone()
|
||||
self.root.panic_strategy
|
||||
}
|
||||
|
||||
pub fn edition(&self) -> Edition {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue