Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub mod borrow
A module for working with borrowed data.
module alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8
Reallocates memory with the global allocator.
function alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn handle_alloc_error(layout: Layout) -> never
Signals a memory allocation error.
function alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn dealloc(ptr: *mut u8, layout: Layout)
Deallocates memory with the global allocator.
function alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8
Allocates zero-initialized memory with the global allocator.
function alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn alloc(layout: Layout) -> *mut u8
Allocates memory with the global allocator.
function alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod alloc
Memory allocation APIs
module alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod alloc
The Rust core allocation and collections library
module alloc Stable since 1.36.0 Version 1.100.0-nightly
"# JuSt Be CaReFuL If there’s one lesson from decades of software engineering, it is the failure of “just be careful” as a strategy. C/C++ progr..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.