mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
fix
This commit is contained in:
parent
e33d57e767
commit
c64f10605b
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue