This commit is contained in:
Jon Häggblad
2022-11-09 10:43:53 +01:00
parent 269f50bdd4
commit b89ec2e0be
@@ -85,6 +85,7 @@ impl FromStr for PledgeCap {
impl Default for PledgeCap {
fn default() -> Self {
#[allow(clippy::expect_used)]
PledgeCap::Percent(Percent::from_percentage_value(10).expect("This can never fail!"))
}
}