Skip to content

Commit 8b3e945

Browse files
committed
Fix serde rename of PanicStrategy
1 parent 35376d9 commit 8b3e945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/profiles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ impl serde::ser::Serialize for Lto {
873873

874874
/// The `panic` setting.
875875
#[derive(Clone, Copy, PartialEq, Eq, Debug, Hash, PartialOrd, Ord, serde::Serialize)]
876-
#[serde(rename_all = "lowercase")]
876+
#[serde(rename_all = "kebab-case")]
877877
pub enum PanicStrategy {
878878
Unwind,
879879
Abort,

0 commit comments

Comments
 (0)