aboutsummaryrefslogtreecommitdiff
path: root/src/types.rs
diff options
context:
space:
mode:
authorJoey Sacchini <joey@sacchini.net>2020-10-19 12:41:46 -0400
committerJoey Sacchini <joey@sacchini.net>2020-10-19 12:41:46 -0400
commita673089adf23594c6ccd13f4bfdcaf86601148c4 (patch)
treed305a692a7ebffc2697990744a714845d8cb6366 /src/types.rs
parentf7f69d2d98a087f98ec81c3687567e02f0abed7e (diff)
downloadmcproto-rs-a673089adf23594c6ccd13f4bfdcaf86601148c4.tar.gz
mcproto-rs-a673089adf23594c6ccd13f4bfdcaf86601148c4.tar.bz2
mcproto-rs-a673089adf23594c6ccd13f4bfdcaf86601148c4.zip
remove compat layer (don't need it), and fix some other small issues with tests/compiling
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.rs b/src/types.rs
index f22b280..1c4ac71 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -845,7 +845,7 @@ mod tests {
#[test]
fn test_nbt() {
test_type(NamedNbtTag {
- root: nbt::Tag::Compound(vec![
+ root: nbt::Tag::Compound(alloc::vec![
nbt::Tag::String("test 123".to_owned()).with_name("abc 123")
])
.with_name("root"),