edit/arena/
mod.rs

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Arena allocators. Small and fast.
5
6#[cfg(debug_assertions)]
7mod debug;
8mod release;
9mod scratch;
10mod string;
11
12#[cfg(all(not(doc), debug_assertions))]
13pub use self::debug::Arena;
14#[cfg(any(doc, not(debug_assertions)))]
15pub use self::release::Arena;
16pub use self::scratch::{ScratchArena, init, scratch_arena};
17pub use self::string::ArenaString;