summary refs log tree commit diff
path: root/src/libcollections/fmt.rs
AgeCommit message (Collapse)AuthorLines
2015-09-28Use code formatting for code-relevant values in std::fmt docsCarol (Nichols || Goulding)-13/+13
Especially when documenting the use of `0`, since zero looks very similar to `O` in fonts not meant for displaying code. Other literal characters, traits, etc should also use code formatting. This change makes this documentation more internally consistent.
2015-08-28re-export debug builders in `std::fmt`Andrew Paseltiner-0/+1
2015-07-30Rollup merge of #27352 - nagisa:illegal-to-invalid-docs, r=steveklabnikManish Goregaokar-9/+11
r? @steveklabnik
2015-07-28Replace occurences of illegal in user facing docsSimonas Kazlauskas-9/+11
2015-07-27Show appropriate feature flags in docsSteve Klabnik-1/+1
2015-06-30fmt: Update docs and mention :#? pretty-printingUlrik Sverdrup-22/+23
2015-06-17Fallout in tests and docs from feature renamingsAlex Crichton-2/+1
2015-05-28remove references to IoResultSteve Klabnik-2/+2
This is now std::io::Result
2015-05-19fmt.rs: add note about lack of padding support for some typesParker Moore-0/+4
2015-04-30Clarify intention wrt integersSteve Klabnik-1/+1
Fixes #24767
2015-04-24Whoops, please tidySteve Klabnik-9/+9
2015-04-24Add examples by @pnkfelix to fmt precisionSteve Klabnik-5/+62
Fixes #24656
2015-04-21rollup merge of #24636: alexcrichton/remove-deprecatedAlex Crichton-4/+4
Conflicts: src/libcore/result.rs
2015-04-21std: Bring back f32::from_str_radix as an unstable APIAlex Crichton-4/+4
This API was exercised in a few tests and mirrors the `from_str_radix` functionality of the integer types.
2015-04-21rollup merge of #24651: tamird/old-referencesAlex Crichton-2/+0
r? @alexcrichton
2015-04-21Remove references to `old_{path,io}`Tamir Duberstein-2/+0
2015-04-21Auto merge of #24620 - pczarn:model-lexer-issues, r=cmrbors-2/+0
Fixes #15679 Fixes #15878 Fixes #15882 Closes #15883
2015-04-21Model lexer: Fix remaining issuesPiotr Czarnecki-2/+0
2015-04-20Update reference to old_io in fmt docsMatt Brubeck-1/+1
2015-04-16Call write_fmt directly to format an Arguments value.Ryan Prichard-1/+1
It's just as convenient, but it's much faster. Using write! requires an extra call to fmt::write and a extra dynamically dispatched call to Arguments' Display format function.
2015-03-30Document the effect of `#` on array formattingMatt Brubeck-6/+6
2015-03-23Add #![feature] attributes to doctestsBrian Anderson-0/+3
2015-03-20std: Remove old_io/old_path from the preludeAlex Crichton-3/+4
This commit removes the reexports of `old_io` traits as well as `old_path` types and traits from the prelude. This functionality is now all deprecated and needs to be removed to make way for other functionality like `Seek` in the `std::io` module (currently reexported as `NewSeek` in the io prelude). Closes #23377 Closes #23378
2015-03-19Document {:.*}Steve Klabnik-5/+12
Fixes #22927
2015-03-19Small formatting fixes to fmt.rsSteve Klabnik-22/+23
2015-03-17Rollup merge of #23329 - jbcrail:rm-syntax-highlight, r=sanxiynManish Goregaokar-1/+1
As suggested by @steveklabnik in #23254, I removed the redundant Rust syntax highlighting from the documentation.
2015-03-16extract libcollections tests into libcollectionstestJorge Aparicio-12/+0
2015-03-13Remove explicit syntax highlight from docs.Joseph Crail-1/+1
2015-03-11Example -> ExamplesSteve Klabnik-1/+1
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
2015-03-09doc: Fix extraneous as_slice()'s in docstringsRicho Healey-1/+1
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-1/+1
2015-03-01Addresses rust-lang/rust#22646Leonids Maslovs-1/+1
Removes deprecated `{:08d}` format from the module documentation. `{:08}` should be used instead now.
2015-02-21Kill fmt::Show and fmt::String with fire!Simonas Kazlauskas-1/+1
Toss the tomatoes!
2015-02-18Remove `i`, `is`, `u`, or `us` suffixes that are not necessary.Niko Matsakis-4/+4
2015-02-17Auto merge of #22311 - lfairy:consistent-fmt, r=alexcrichtonbors-2/+2
This brings it in line with its namesake in `std::io`. [breaking-change] r? @aturon
2015-02-14Rename `fmt::Writer` to `fmt::Write`Chris Wong-2/+2
This brings it in line with its namesake in `std::io`. [breaking-change]
2015-02-13more int and cloned cleanup in collectionsAlexis-6/+6
2015-02-11rustc: Fix a number of stability lint holesAlex Crichton-1/+1
There are a number of holes that the stability lint did not previously cover, including: * Types * Bounds on type parameters on functions and impls * Where clauses * Imports * Patterns (structs and enums) These holes have all been fixed by overriding the `visit_path` function on the AST visitor instead of a few specialized cases. This change also necessitated a few stability changes: * The `collections::fmt` module is now stable (it was already supposed to be). * The `thread_local::imp::Key` type is now stable (it was already supposed to be). * The `std::rt::{begin_unwind, begin_unwind_fmt}` functions are now stable. These are required via the `panic!` macro. * The `std::old_io::stdio::{println, println_args}` functions are now stable. These are required by the `print!` and `println!` macros. * The `ops::{FnOnce, FnMut, Fn}` traits are now `#[stable]`. This is required to make bounds with these traits stable. Note that manual implementations of these traits are still gated by default, this stability only allows bounds such as `F: FnOnce()`. Additionally, the compiler now has special logic to ignore its own generated `__test` module for the `--test` harness in terms of stability. Closes #8962 Closes #16360 Closes #20327 [breaking-change]
2015-02-07Make std::fmt a simple re-export from collectionsKeegan McAllister-9/+401
2015-02-07Don't use std:: paths in syntax extensions when compiling a #![no_std] crateKeegan McAllister-0/+56
Fixes #16803. Fixes #14342. Fixes half of #21827 -- slice syntax is still broken.