Commit Graph

28 Commits (05a2df52a497dbb2d5e2099b74e66fbcbfeac5b9)

Author SHA1 Message Date
Lukas Hettwer a8584998ea Update vector code examples
5 years ago
Yuki Okushi 3fd89d64e7 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`
5 years ago
Eric Huss ee45186b37 Fix API change to alloc::Global::grow.
5 years ago
Yuki Okushi 81797cf059
Follow-up of rust-lang/rust#75152
5 years ago
Yuki Okushi be0687ab1d
Follow-up for rust-lang/rust#74850
5 years ago
Eric Huss d1517d4e3f Rename Unique::empty to Unique::dangling
5 years ago
Linus Färnstrand 9f131b5b9c Use just `std::_` instead of `::std::_`
5 years ago
Linus Färnstrand 1d517f87dc Fix Global.realloc by changing to Global.grow
5 years ago
Linus Färnstrand 6cceae61c9 Fix usage of Global.alloc
5 years ago
Yuki Okushi d2ed4ebed9 Rustup to latest rustc
5 years ago
Tim Diekmann 99d5b65882
Rename `Alloc` to `AllocRef`
6 years ago
Alexis Beingessner f3fb7c9a8f Use the alloc_layout_extra feature for Layout::array::<T>
7 years ago
Ivan cce3265e81 Modified test create_push_pop to insert unique values
7 years ago
Ivan 2edf3dae92 main to print message if all tests succeeds
7 years ago
Ivan 0ab1a6618e Make tests as doctests - to be run by mdbook test
7 years ago
Ivan c07c45bd6d Test and fix to vec-final
7 years ago
Boris-Chengbiao Zhou 94964dee31 Remove `unique` feature which doesn't exist anymore
7 years ago
Ralf Jung d4bc3b59c5 fix for oom rename
7 years ago
Mark Simulacrum a9b58851a0 Fix nomicon for allocator changes
7 years ago
Alexis Beingessner 23e4f08171 Global.oom -> heap::alloc::oom and explanation fixup
7 years ago
Simon Sapin 498ac29974 Use the new GlobalAlloc trait
7 years ago
Corey Farwell 5aa2345269 Fix code example compilation errors related to `unique`.
8 years ago
Simon Sapin 2b35ebad1d The `unique` feature is renamed `ptr_internals`
8 years ago
Simon Sapin f8fd671039 Update for https://github.com/rust-lang/rust/pull/42959
8 years ago
Alex Crichton 56d90fa3c3 Touch up where `Alloc` is imported from
8 years ago
Mark Simulacrum 2e67cfed79 Update to use the new allocator APIs.
8 years ago
Alexis Beingessner e9335c82a2 use new Unique/heap APIs
8 years ago
Steve Klabnik 0e6c680ebd Port Nomicon to mdbook
8 years ago