4 ms·
I think it's a mistake. Allocator Implementation[1] shows values being moved into the arena, which can be done without Copy or even Clone. Maybe the author got
by GrantMoyer 2y ago
I think it's a mistake. Allocator Implementation[1] shows values being moved into the arena, which can be done without Copy or even Clone. Maybe the author got confused, since moving an object in Rust just copies the bytes and invalidates the moved from binding.
[1]: https://iliabylich.github.io/arena-based-parsers/allocator_implementation.html https://iliabylich.github.io/arena-based-parsers/allocator_i...