[rust] Remove debug code (#6475)
authorColin <colindjk@gmail.com>
Wed, 24 Feb 2021 18:00:18 +0000 (13:00 -0500)
committerGitHub <noreply@github.com>
Wed, 24 Feb 2021 18:00:18 +0000 (13:00 -0500)
commitc0be1cb7a51f1c50e057469de94f3a3bb7dfcb64
tree3826e2f139a1447bc7edd93043828f18d908c361
parent8cccdfba536be9f68004bb53c2ceb06f7510bd58
[rust] Remove debug code (#6475)

* Remove debug code

This was added for testing in the recent genericize PR for flexbuffer Reader.

* Added alloc tests -> MapReader::{is_empty, index_key, len}

* Added , accessible through Deref to deprecation warning
rust/flexbuffers/src/reader/map.rs
rust/flexbuffers/src/reader/mod.rs
tests/rust_usage_test/bin/flexbuffers_alloc_check.rs