Alice Wang 2 anni fa
parent
commit
4f8de1d09c
1 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 2 5
      src/lib.rs

+ 2 - 5
src/lib.rs

@@ -117,11 +117,8 @@ impl Display for Error {
                     f,
                     "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:?}"),
         }
     }
 }