about summary refs log tree commit diff
path: root/src/libstd/macros.rs
AgeCommit message (Collapse)AuthorLines
2019-04-19extend ui testAndre Bogus-1/+12
2019-04-10Apply suggestions from code review Mazdak Farrokhzad-2/+2
Use dbg! recursively on each item Co-Authored-By: llogiq <bogusandre@gmail.com>
2019-04-10allow multiple args to `dbg!(..)`Andre Bogus-0/+10
2019-04-07Auto merge of #59765 - lzutao:patch-1, r=Centrilbors-1/+3
Add reference to cfg attr r? @QuietMisdreavus
2019-04-07Add reference to cfg attrlzutao-1/+3
2019-04-05Future-proof the Futures APITaylor Cramer-1/+1
2019-03-30Added a missing !.Christian-1/+1
2019-03-30Added an example that shows how the remainder function on floating point ↵Christian-3/+3
values is computed internally.
2019-03-30Rollup merge of #59528 - DevQps:improve-dbg-macro-docs, r=CentrilMazdak Farrokhzad-1/+7
Improve the dbg! macro docs # Description As stated has been discussed in #58383 the docs do not clearly state why it is useful to have the option to use `dbg!` in release builds as well. This PR should change that. closes #58383
2019-03-29Update src/libstd/macros.rs Mazdak Farrokhzad-1/+0
Removed duplicate line. Co-Authored-By: DevQps <46896178+DevQps@users.noreply.github.com>
2019-03-29Update src/libstd/macros.rs Mazdak Farrokhzad-1/+2
Wrapped lines earlier such that it is more coherent with the rest of the text. Co-Authored-By: DevQps <46896178+DevQps@users.noreply.github.com>
2019-03-29Adjusted the indentation.Christian-2/+3
2019-03-29Edited the dbg! docs stating that dbg! works the same way in release builds.Christian-1/+6
2019-03-27Clarify behavior of dbg macroNikhil Benesch-1/+2
2019-03-26Use consistent phrasing for all macro summariesNikhil Benesch-22/+23
2019-03-19Rollup merge of #57847 - clarcharr:dbg_no_params, r=CentrilMazdak Farrokhzad-0/+6
dbg!() without parameters Fixes #57845.
2019-03-02Bootstrap compiler update for 1.35 releaseMark Rousskov-12/+6
2019-02-28libstd => 2018Taiki Endo-1/+1
2019-02-13Rollup merge of #57693 - king6cong:word, r=CentrilMazdak Farrokhzad-1/+1
Doc rewording None
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-14/+14
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-12Doc rewordingking6cong-1/+1
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-6/+12
2019-02-10tests: doc commentsAlexander Regueiro-14/+14
2019-01-22dbg!() without parameters.Clar Fon-0/+6
2019-01-06check missing docs for reexported macros as wellGuillaume Gomez-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-01stabilize std::dbg!(...)Mazdak Farrokhzad-10/+2
2018-11-21update various stdlib docsSteve Klabnik-6/+5
2018-11-11Fix a typo in std::panicDale Wijnand-1/+1
2018-11-08Deprecate channel selectionStjepan Glavina-0/+2
2018-10-14Fix incorrect link in println! documentationDiana-1/+1
The eprintln! link was incorrectly linking to eprint! instead
2018-09-25Auto merge of #54317 - Centril:feature/dbg_macro, r=SimonSapinbors-0/+120
Implement the dbg!(..) macro Implements the `dbg!(..)` macro due to #54306. cc https://github.com/rust-lang/rfcs/pull/2361 r? @alexcrichton
2018-09-20dbg_macro: notes about VCS and log::debug!(..)Mazdak Farrokhzad-3/+5
2018-09-20dbg!(expr) implementation.Mazdak Farrokhzad-0/+118
2018-09-19Remove spawning from task::ContextTaylor Cramer-1/+1
2018-09-19Auto merge of #53877 - withoutboats:compositional-pin, r=aturonbors-1/+1
Update to a new pinning API. ~~Blocked on #53843 because of method resolution problems with new pin type.~~ @r? @cramertj cc @RalfJung @pythonesque anyone interested in #49150
2018-09-01Update to a new pinning API.Without Boats-1/+1
2018-08-31use cfg(rustdoc) instead of cfg(dox) in std and friendsQuietMisdreavus-1/+1
2018-08-23move PinMut into pin module and export through stdNiv Kaminer-1/+1
2018-08-02Remove unnecessary local in await! macroTaylor Cramer-6/+9
2018-08-01Switch to bootstrapping from 1.29 betaMark Rousskov-12/+2
2018-07-23Rollup merge of #52581 - petrochenkov:bmacrodoc, r=alexcrichtonkennytm-17/+17
Avoid using `#[macro_export]` for documenting builtin macros Use a special `rustc_*` attribute instead. cc https://github.com/rust-lang/rust/pull/52234
2018-07-21fix tidy ~ againEsteban Küber-13/+0
2018-07-21Don't use the new `eprintln` for stage0 and stage1Esteban Küber-2/+2
I'm not entirely sure why (or if) this is needed.
2018-07-21Change `eprintln!()`Esteban Küber-2/+9
Address #30143 as well. `writeln!()` hasn't been changed.
2018-07-21Gate `format_args_nll` behind feature flagEsteban Küber-1/+1
2018-07-21Avoid using `#[macro_export]` for documenting builtin macrosVadim Petrochenkov-17/+17
2018-07-19rework printlnEsteban Küber-2/+24
2018-07-19Same change as `println` for `eprintln`Esteban Küber-2/+1
2018-07-19review comments: modify note wording and change `println`Esteban Küber-8/+1
- Don't print the newline on its own to avoid the possibility of printing it out of order due to `stdout` locking. - Modify wording of `concat!()` with non-literals to not mislead into believing that only `&str` literals are accepted. - Add test for `concat!()` with non-literals.