Run cargo fix --edition-idioms
This commit is contained in:
@@ -17,7 +17,7 @@ pub struct Change {
|
||||
}
|
||||
|
||||
impl fmt::Debug for Change {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let mut d = fmt.debug_struct("Change");
|
||||
if let Some(roots) = &self.roots {
|
||||
d.field("roots", roots);
|
||||
|
||||
Reference in New Issue
Block a user