8000 add serde default value for previous_stable_versions · rust-lang/rust-forge@6f58568 · GitHub
[go: up one dir, main page]

Skip to 8000 content

Commit 6f58568

Browse files
committed
add serde default value for previous_stable_versions
1 parent 349d9c5 commit 6f58568

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blacksmith/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ pub struct Blacksmith {
4545
rustup: Vec<String>,
4646
stable_version: Option<String>,
4747
platforms: BTreeMap<String, Platform>,
48+
#[serde(default)]
4849
previous_stable_versions: Vec<(String, Vec<String>)>,
4950
}
5051

0 commit comments

Comments
 (0)
0