Fix clippy warnings.
This commit fixes the current set of (stable) clippy warnings in the repo.
This commit is contained in:
committed by
Andrew Brown
parent
1176e4f178
commit
9f506692c2
@@ -167,7 +167,7 @@ impl VerifierErrors {
|
||||
/// Return a new `VerifierErrors` struct.
|
||||
#[inline]
|
||||
pub fn new() -> Self {
|
||||
VerifierErrors(Vec::new())
|
||||
Self(Vec::new())
|
||||
}
|
||||
|
||||
/// Return whether no errors were reported.
|
||||
@@ -196,7 +196,7 @@ impl VerifierErrors {
|
||||
|
||||
impl From<Vec<VerifierError>> for VerifierErrors {
|
||||
fn from(v: Vec<VerifierError>) -> Self {
|
||||
VerifierErrors(v)
|
||||
Self(v)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user