Browse Source

Cargo fmt

Alice Wang 2 years ago
parent
commit
4f8de1d09c
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/lib.rs

+ 2 - 5
src/lib.rs

@@ -117,11 +117,8 @@ impl Display for Error {
                     f,
                     f,
                     "The device doesn't have any config space, but the driver expects some"
                     "The device doesn't have any config space, but the driver expects some"
                 )
                 )
-            },
-            Self::SocketDeviceError(e) => write!(
-                f,
-                "Error from the socket device: {e:?}"
-            ),
+            }
+            Self::SocketDeviceError(e) => write!(f, "Error from the socket device: {e:?}"),
         }
         }
     }
     }
 }
 }