Generalize Type::SliceRefU8 to Type::SliceRef
diff --git a/syntax/tokens.rs b/syntax/tokens.rs
index 7b64a2d..8ce7ed9 100644
--- a/syntax/tokens.rs
+++ b/syntax/tokens.rs
@@ -24,7 +24,7 @@
             Type::Array(a) => a.to_tokens(tokens),
             Type::Fn(f) => f.to_tokens(tokens),
             Type::Void(span) => tokens.extend(quote_spanned!(*span=> ())),
-            Type::SliceRefU8(r) => r.to_tokens(tokens),
+            Type::SliceRef(r) => r.to_tokens(tokens),
         }
     }
 }