result: add clippy bypass
The warnings are false positives, since these functions will
eventually want to return Result.
@@ -479,6 +479,7 @@ fn deser_rows(buf: &mut &[u8]) -> StdResult<Rows, ParseError> {
})
}
+#[allow(clippy::unnecessary_wraps)]
fn deser_set_keyspace(_buf: &mut &[u8]) -> StdResult<SetKeyspace, ParseError> {
Ok(SetKeyspace {}) // TODO
}
@@ -496,6 +497,7 @@ fn deser_prepared(buf: &mut &[u8]) -> StdResult<Prepared, ParseError> {
})
}
+#[allow(clippy::unnecessary_wraps)]
fn deser_schema_change(_buf: &mut &[u8]) -> StdResult<SchemaChange, ParseError> {
Ok(SchemaChange {}) // TODO
}
