From 34058b25283947137216964462a1370d08010066 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 1 May 2022 23:45:28 -0500 Subject: Remove some resolved todo comments --- azalea-protocol/src/mc_buf/write.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'azalea-protocol/src/mc_buf') diff --git a/azalea-protocol/src/mc_buf/write.rs b/azalea-protocol/src/mc_buf/write.rs index 34bcafeb..c125bf0b 100755 --- a/azalea-protocol/src/mc_buf/write.rs +++ b/azalea-protocol/src/mc_buf/write.rs @@ -168,8 +168,6 @@ impl McBufWritable for UnsizedByteArray { } } -// TODO: use specialization when that gets stabilized into rust -// to optimize for Vec byte arrays impl McBufWritable for Vec { default fn write_into(&self, buf: &mut impl Write) -> Result<(), std::io::Error> { buf.write_list(self, |buf, i| T::write_into(i, buf)) -- cgit v1.2.3