Skip to content

Commit c848983

Browse files
committed
add serde default value for previous_stable_versions
1 parent 09f35a4 commit c848983

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)