clippy
This commit is contained in:
@@ -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!"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user