mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-20 07:02:31 +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]
|
||||
pub fn as_bytearray(&self) -> Option<&Vec<i8>> {
|
||||
pub fn as_bytearray(&self) -> Option<&[u8]> {
|
||||
if let Tag::ByteArray(v) = self {
|
||||
Some(v)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue