fix clippy
This commit is contained in:
1 parent
8e54a89a74
commit
f3d1600822
2 files changed
+2
-2
No files matched your search
@@ -45,7 +45,7 @@ impl HTMLDataCursor {
|
||||
}
|
||||
let mut cursor = &self.data[current];
|
||||
self.index.fetch_add(1, std::sync::atomic::Ordering::SeqCst);
|
||||
match postcard::from_bytes(&mut cursor) {
|
||||
match postcard::from_bytes(cursor) {
|
||||
Ok(x) => Some(x),
|
||||
Err(e) => {
|
||||
log::error!("Error deserializing data: {:?}", e);
|
||||
|
||||
Reference in new issue
Block a user