From 51b08c687186e02ff977da0cd2ce1be62b3bf6f3 Mon Sep 17 00:00:00 2001 From: pjht Date: Sun, 18 Aug 2024 08:45:35 -0500 Subject: [PATCH] Update to latest std --- devfs_rpc/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devfs_rpc/src/lib.rs b/devfs_rpc/src/lib.rs index 1da4867..7d26208 100644 --- a/devfs_rpc/src/lib.rs +++ b/devfs_rpc/src/lib.rs @@ -45,7 +45,7 @@ fn callback(call: IncomingCall) { let server_lock = SERVER.read(); let server = server_lock.as_ref().unwrap(); if call.func == 0 { - let kind = postcard::from_bytes(&call.args()).unwrap(); + let kind = postcard::from_bytes(call.args()).unwrap(); let ret = postcard::to_stdvec(&server.register_dev(call.from, kind)).unwrap(); call.send_return(&ret); }