Skip to content

Commit 3afaa50

Browse files
committed
chore: Fix clippy lint
1 parent 6e395c4 commit 3afaa50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • rust/krb5-provision-keytab/src

rust/krb5-provision-keytab/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<T: std::error::Error> From<T> for Report<T> {
172172
impl<T: std::error::Error> Display for Report<T> {
173173
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
174174
let mut is_first = true;
175-
let mut curr: Option<&(dyn std::error::Error)> = Some(&self.error);
175+
let mut curr: Option<&dyn std::error::Error> = Some(&self.error);
176176
while let Some(err) = curr {
177177
if !is_first {
178178
f.write_str(": ")?;

0 commit comments

Comments
 (0)