Alice Wang 2 éve
szülő
commit
4f8de1d09c
1 módosított fájl, 2 hozzáadás és 5 törlés
  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:?}"),
         }
     }
 }