Skip to content

Commit 5fcee07

Browse files
author
Seulgi Kim
committed
Run cargo fix --edition-idioms
1 parent b23ab25 commit 5fcee07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Kodebox, Inc.
1+
// Copyright 2019-2020 Kodebox, Inc.
22
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
33
// This file is part of CodeChain.
44
//
@@ -29,7 +29,7 @@ pub enum DatabaseError {
2929
}
3030

3131
impl fmt::Display for DatabaseError {
32-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
32+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
3333
match *self {
3434
DatabaseError::NegativelyReferencedHash(hash) => {
3535
write!(f, "Entry {} removed from database more times than it was added.", hash)

0 commit comments

Comments
 (0)