Alice Wang %!s(int64=2) %!d(string=hai) anos
pai
achega
4f8de1d09c
Modificáronse 1 ficheiros con 2 adicións e 5 borrados
  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:?}"),
         }
     }
 }