about summary refs log tree commit diff
path: root/src/liballoc/tests/string.rs
diff options
context:
space:
mode:
authorC Jones <code@calebjones.net>2018-05-08 13:28:49 -0400
committerC Jones <code@calebjones.net>2018-05-08 13:28:49 -0400
commite83c18f91d373592ecf7a0fbbc24d7597925af13 (patch)
treed4a94d73d368dd7baadcc05b43fe9313cb92d43d /src/liballoc/tests/string.rs
parentf3a3599e090cb6aa63a327351738d7633c934728 (diff)
downloadrust-e83c18f91d373592ecf7a0fbbc24d7597925af13.tar.gz
rust-e83c18f91d373592ecf7a0fbbc24d7597925af13.zip
Make an ensure_root_is_owned method to reduce duplication
Also remove some unnecessary debug_assert! when creating the shared
root, since the root should be stored in the rodata and thus be
impossible to accidentally modify.
Diffstat (limited to 'src/liballoc/tests/string.rs')
0 files changed, 0 insertions, 0 deletions