diff options
| author | mat <github@matdoes.dev> | 2022-05-01 23:45:28 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-01 23:45:28 -0500 |
| commit | 34058b25283947137216964462a1370d08010066 (patch) | |
| tree | a5c8fa182b77398008bb6ffc67cad61ab7b7e5ca /azalea-protocol/src/mc_buf/write.rs | |
| parent | dedcd0de8f017a00645b31cfdc1819a4e8da0850 (diff) | |
| download | azalea-drasl-34058b25283947137216964462a1370d08010066.tar.xz | |
Remove some resolved todo comments
Diffstat (limited to 'azalea-protocol/src/mc_buf/write.rs')
| -rwxr-xr-x | azalea-protocol/src/mc_buf/write.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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<u8> byte arrays impl<T: McBufWritable> McBufWritable for Vec<T> { default fn write_into(&self, buf: &mut impl Write) -> Result<(), std::io::Error> { buf.write_list(self, |buf, i| T::write_into(i, buf)) |
