| // Copyright 2026 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| //! Ergonomic prelude re-exports (`vx_std::prelude`). | |
| #![forbid(unsafe_code)] | |
| /// Version 1 of the `vx_std` prelude. | |
| pub mod v1 { | |
| pub use crate::alloc::{AllocError, Layout}; | |
| pub use crate::boxed::Box; | |
| pub use crate::collections::{HashMap, HashSet, Key}; | |
| pub use crate::option::Option::{self, None, Some}; | |
| pub use crate::result::Result::{self, Err, Ok}; | |
| pub use crate::str::Utf8Error; | |
| pub use crate::string::{String, TryFromUtf8Error}; | |
| pub use crate::vec::Vec; | |
| } |