remove unreachable in msgpack (#3691)
This commit is contained in:
parent
4804426648
commit
2e27000c8e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ impl TryFrom<Value> for Pack {
|
|||
Value::Bytes(v) => Ok(Pack(Data::Binary(v.into_inner()))),
|
||||
Value::Thing(v) => Ok(Pack(Data::Ext(TAG_RECORDID, v.to_raw().as_bytes().to_vec()))),
|
||||
// We shouldn't reach here
|
||||
_ => unreachable!(),
|
||||
_ => Err("Found unsupported SurrealQL value being encoded into a msgpack value"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue