Generalize Type::SliceRefU8 to Type::SliceRef
diff --git a/syntax/impls.rs b/syntax/impls.rs
index 36cf3cd..4de3c29 100644
--- a/syntax/impls.rs
+++ b/syntax/impls.rs
@@ -50,7 +50,7 @@
Type::RustVec(t) => t.hash(state),
Type::CxxVector(t) => t.hash(state),
Type::Fn(t) => t.hash(state),
- Type::SliceRefU8(t) => t.hash(state),
+ Type::SliceRef(t) => t.hash(state),
Type::Array(t) => t.hash(state),
Type::Void(_) => {}
}
@@ -70,7 +70,7 @@
(Type::RustVec(lhs), Type::RustVec(rhs)) => lhs == rhs,
(Type::CxxVector(lhs), Type::CxxVector(rhs)) => lhs == rhs,
(Type::Fn(lhs), Type::Fn(rhs)) => lhs == rhs,
- (Type::SliceRefU8(lhs), Type::SliceRefU8(rhs)) => lhs == rhs,
+ (Type::SliceRef(lhs), Type::SliceRef(rhs)) => lhs == rhs,
(Type::Void(_), Type::Void(_)) => true,
(_, _) => false,
}