summary refs log tree commit diff
path: root/src/libstd/primitive_docs.rs
AgeCommit message (Collapse)AuthorLines
2018-04-22Auto merge of #49757 - GuillaumeGomez:never-search, r=QuietMisdreavusbors-0/+10
Add specific never search Fixes #49529. r? @QuietMisdreavus
2018-04-21add more aliasesGuillaume Gomez-0/+7
2018-04-21Generate alias fileGuillaume Gomez-0/+3
2018-04-21Add back missing `#![feature(never_type)]`skennytm-0/+2
2018-03-26Fix missed i128 feature gatesMark Mansi-2/+2
2018-03-14stabilise feature(never_type)Andrew Cann-6/+5
Replace feature(never_type) with feature(exhaustive_patterns). feature(exhaustive_patterns) only covers the pattern-exhaustives checks that used to be covered by feature(never_type)
2018-02-11Make primitive types docs relevantGuillaume Gomez-48/+0
2017-12-12Rename never_type_impls gate to never_typeAndrew Cann-1/+1
2017-12-10Update never_type docs based on feedbackAndrew Cann-1/+2
2017-11-28Add more links to `!` doc textAndrew Cann-18/+28
2017-11-24Fix doc testsAndrew Cann-9/+22
2017-11-24change stability of prim_neverAndrew Cann-1/+1
2017-11-24Add docs for never primitiveAndrew Cann-0/+104
2017-10-17Update array documentation for Clone trait changesKonrad Borowski-3/+4
2017-09-20Document stable size_of primitives and pointer size guaranteesHavvy-0/+8
2017-08-22Mention null_mut on the pointer primitive docs.Nathaniel Ringo-3/+5
Also adds a few mentions that both `*const` and `*mut` support functions, when only `*const` was mentioned before.
2017-08-17Minor rewrite of char primitive unicode intro.Corey Farwell-13/+18
Opened primarily to address #36998.
2017-08-12Fix some typosBastien Orivel-1/+1
2017-08-01add documentation for function pointers as a primitiveQuietMisdreavus-0/+101
2017-07-30add docs for references as a primitiveQuietMisdreavus-0/+117
2017-06-23Removed as many "```ignore" as possible.kennytm-2/+4
Replaced by adding extra imports, adding hidden code (`# ...`), modifying examples to be runnable (sorry Homura), specifying non-Rust code, and converting to should_panic, no_run, or compile_fail. Remaining "```ignore"s received an explanation why they are being ignored.
2017-04-12Rollup merge of #41243 - projektir:prim_str_docs, r=GuillaumeGomezTim Neumann-4/+4
Minor nits in primitive str Some minor updates to linking, added some links, doc format, etc. r? @GuillaumeGomez
2017-04-12Minor nits in primitive strprojektir-4/+4
2017-04-10Fixes incorrect formatting in array's documentation.Nathaniel Ringo-1/+1
2017-03-31Rollup merge of #40703 - GuillaumeGomez:pointer-docs, r=steveklabnikCorey Farwell-4/+9
Add missing urls in ptr docs r? @rust-lang/docs
2017-03-21Add missing urls in ptr docsGuillaume Gomez-4/+9
2017-03-20Fix up various linkssteveklabnik-2/+2
The unstable book, libstd, libcore, and liballoc all needed some adjustment.
2017-03-13Remove function invokation parens from documentation links.Corey Farwell-3/+3
This was never established as a convention we should follow in the 'More API Documentation Conventions' RFC: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
2017-02-20Revert "Fix up links"Steve Klabnik-1/+1
This reverts commit 7f1d1c6d9a7be5e427bace30e740b16b25f25c92. The original commit was created because mdBook and rustdoc had different generation algorithms for header links; now with https://github.com/rust-lang/rust/pull/39966 , the algorithms are the same. So let's undo this change. ... when I came across this problem, I said "eh, this isn't fun, but it doesn't take that long." I probably should have just actually taken the time to fix upstream, given that they were amenable. Oh well!
2017-02-13Fix up linksSteve Klabnik-1/+1
mdbook and rustdoc generate links differently, so we need to change all these links.
2017-01-24Add missing urls for array docsGuillaume Gomez-21/+22
2017-01-21Specify the result of integer cast on booleanGuillaume Gomez-1/+9
2017-01-15rustdoc: Give primitive types stability attributesOliver Middleton-0/+22
This is especially important for i128/u128 to make it clear they are unstable in the docs.
2017-01-05Fix typo in tuple docsOliver Middleton-1/+1
2016-12-30Make rustdoc aware of the primitive i128 typeest31-0/+22
Many thanks to ollie27 for spotting all the places.
2016-10-08Use less `size_t` casts in libstd since it's now defined as `usize`Tobias Bucher-1/+1
2016-09-11Tweak array docsKeegan McAllister-21/+65
Fixes #29331.
2016-08-18Fix linksNick Cameron-1/+1
2016-08-17Rollup merge of #35613 - matthew-piziak:array-docs-trait-justification, ↵Jonathan Turner-3/+8
r=steveklabnik provide additional justification for array interface design Explain why Rust does not implement traits for large arrays. Explain why most methods are implemented on slices rather than arrays. Note: I'm dipping my toes in the water with a tiny PR. Especially looking for feedback on wording and style. Points of concern: appropriate level of top-level explanation; foreshadowing (is it appropriate to imply that we expect Rust's type system to eventually support size-generic arrays?); using `Foo` and `Bar` as type variables instead of e.g. `T` and `S`. @peschkaj
2016-08-12provide additional justification for array interface designMatthew Piziak-3/+8
Explain why Rust does not implement traits for large arrays. Explain why most methods are implemented on slices rather than arrays.
2016-08-12Update note to include recommendation to use `.as_slice()`JessRudder-1/+2
2016-08-11Add note to docs for &str that example is to demo internals onlyJessRudder-0/+3
2016-07-08Improve primitive integers documentationGuillaume Gomez-0/+30
2016-06-22Use the correct types in float examplesOliver Middleton-6/+0
2016-06-01Fix broken link name in `bool` documentationMatt Kraai-1/+1
2016-04-06Add `Copy` to the traits that are automatically implemented for tuplesTobias Bucher-2/+4
2016-03-22doc: small char improvementsTshepang Lekhonkhobe-3/+3
2016-03-08doc: Fix a bunch of broken linksAlex Crichton-15/+15
A few categories: * Links into compiler docs were just all removed as we're not generating compiler docs. * Move up one more level to forcibly go to std docs to fix inlined documentation across the facade crates.
2016-03-06Spelling fix for "because"Craig M. Brandenburg-1/+1
2016-02-25Add f32 and f64 examples warningGuillaume Gomez-0/+6