Skip to content

Commit 2d4c203

Browse files
committed
Remove unnecessary clone call for panic_strategy
1 parent f534694 commit 2d4c203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/cstore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,6 @@ impl CrateMetadata {
207207
}
208208

209209
pub fn panic_strategy(&self) -> PanicStrategy {
210-
self.root.panic_strategy.clone()
210+
self.root.panic_strategy
211211
}
212212
}

0 commit comments

Comments
 (0)