File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ use {core::alloc::Allocator, core::ptr::NonNull};
23
23
/// success.
24
24
///
25
25
/// # Feature `unstable` / `allocator_api`
26
- /// By default, this function works with the allocator that is set as
27
- /// `#[global_allocator]`. This might be UEFI allocator but depends on your
28
- /// use case and how you set up the environment.
29
- ///
26
+ /// By default, this function works with the allocator that is set as
27
+ /// `#[global_allocator]`. This might be UEFI allocator but depends on your
28
+ /// use case and how you set up the environment.
29
+ ///
30
30
/// If you activate the `unstable`-feature, all allocations uses the provided
31
31
/// allocator (via `allocator_api`) instead. In that case, the function takes an
32
- /// additional parameter describing the specific [`Allocator`]. You can use
32
+ /// additional parameter describing the specific [`Allocator`]. You can use
33
33
/// [`alloc::alloc::Global`] which defaults to the `#[global_allocator]`.
34
34
///
35
35
/// [`Allocator`]: https://doc.rust-lang.org/alloc/alloc/trait.Allocator.html
You can’t perform that action at this time.
0 commit comments