about summary refs log tree commit diff
path: root/src/liballoc/macros.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-110/+0
2020-04-14make `vec![,]` uncompilableWaffle-2/+2
Fix regression introduced in commit #3ae2d21
2020-04-09simplify `vec!` macroWaffle-2/+1
Simplify `vec!` macro by replacing 2 following branches: - `($($x:expr),*) => (...)` - `($($x:expr,)*) => (...)` with one: - `($($x:expr),* $(,)?) => (...)`
2020-03-31expand vec![] to Vec::new()Trevor Spiteri-0/+6
2019-09-27Scope format! temporariesJon Gjengset-1/+4
This places the temporaries that `format!` generates to refer to its arguments (through `&dyn Trait`) in a short-lived scope surrounding just the invocation of `format!`. This enables `format!` to be used in generators without the temporaries preventing the generator from being `Send` (due to `dyn Trait` not being `Sync`). See rust-lang/rust#64477 for details.
2019-09-07Improve hygiene of `alloc::format!`Vadim Petrochenkov-1/+1
2019-08-15Hygienize use of built-in macros in the standard libraryVadim Petrochenkov-1/+1
2019-06-12Hygienize macros in the standard libraryVadim Petrochenkov-1/+1
2019-03-02Bootstrap compiler update for 1.35 releaseMark Rousskov-2/+1
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-4/+4
Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-1/+2
2019-02-10libs: doc commentsAlexander Regueiro-1/+1
2019-02-10tests: doc commentsAlexander Regueiro-3/+3
2018-12-29Mention ToString in std::fmt docsCzipperz-0/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2017-11-21fix some typosMartin Lindhe-1/+1
2017-09-16Implement `Arc`/`Rc` raw pointer conversions for `?Sized`Murarth-19/+0
* Add `T: ?Sized` bound to {`Arc`,`Rc`}::{`from_raw`,`into_raw`}
2017-08-29broken links resolvedAndy Gauge-2/+2
2017-08-29API docs: macros. Part of #29329 Standard Library Documentation Checklist.Andy Gauge-7/+22
2017-06-13Merge crate `collections` into `alloc`Murarth-0/+83
2016-11-05Add `{into,from}_raw` to Rc and ArcCristi Cobzarenco-0/+28