We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745f067 commit 71a5553Copy full SHA for 71a5553
rust/bambam-omf/src/collection/record/geometry_wkb_codec.rs
@@ -29,7 +29,7 @@ where
29
data.map(|v| {
30
let bytes = match &v {
31
BytesOrString::Bytes(b) => b.clone(),
32
- BytesOrString::String(s) => hex::decode(&s).map_err(|e| {
+ BytesOrString::String(s) => hex::decode(s).map_err(|e| {
33
serde::de::Error::custom(format!("failure converting hex wkb string to bytes: {e}"))
34
})?,
35
};
0 commit comments