Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edgedb-protocol/src/descriptors.rs
Original file line number Diff line number Diff line change
@@ -781,7 +781,7 @@ impl Decode for TypeOperation {
impl Decode for CompoundTypeDescriptor {
fn decode(buf: &mut Input) -> Result<Self, DecodeError> {
ensure!(buf.remaining() >= 19, errors::Underflow);
assert!(buf.get_u8() == 0x0A);
assert!(buf.get_u8() == 0x0B);
let id = Uuid::decode(buf)?.into();
let name = Some(String::decode(buf)?);
let schema_defined = Some(bool::decode(buf)?);

0 comments on commit 14f2914

Please sign in to comment.