就先这样

This commit is contained in:
shenjack 2023-08-05 12:27:59 +08:00
parent df9471c74b
commit a09a6dc7f4
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 1 additions and 4 deletions

View File

@ -30,7 +30,6 @@ pub enum NbtList {
}
/// 基本 NBT 数据类型
#[allow(unused)]
#[derive(Debug, Clone)]
pub enum NbtValue {
/// 0x00
@ -164,7 +163,6 @@ macro_rules! read_data {
};
}
#[allow(unused)]
impl NbtValue {
pub fn as_end(&self) -> Option<()> {
match self {

View File

@ -1,4 +1,4 @@
use crate::data::{NbtItem, NbtLength, NbtList, NbtValue, Reader};
use crate::data::{NbtItem, NbtList, NbtValue, Reader};
use std::convert::From;
use std::io::{Cursor, Read};
@ -220,7 +220,6 @@ pub enum NbtStatus {
/// NbtItem
/// 完整的读取逻辑就在这里了
/// 来力
#[allow(unused)]
impl TryFrom<Cursor<&[u8]>> for NbtItem {
type Error = std::io::Error;