1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00
This commit is contained in:
mat 2022-08-24 21:03:05 -05:00
commit c64f10605b

View file

@ -116,7 +116,7 @@ impl Tag {
} }
#[inline] #[inline]
pub fn as_bytearray(&self) -> Option<&Vec<i8>> { pub fn as_bytearray(&self) -> Option<&[u8]> {
if let Tag::ByteArray(v) = self { if let Tag::ByteArray(v) = self {
Some(v) Some(v)
} else { } else {