| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-02-25 | Convert primitives to use intra-doc links | Joshua Nelson | -3/+3 | |
| 2021-01-03 | Auto merge of #80590 - camelid:bool-never-docs, r=nagisa | bors | -6/+7 | |
| Update `bool` and `!` docs | ||||
| 2021-01-01 | always demands -> requires | Camelid | -1/+1 | |
| 2021-01-01 | Update `bool` and `!` docs | Camelid | -6/+7 | |
| 2020-12-31 | Remove many unnecessary manual link resolves from library | Camelid | -3/+0 | |
| Now that #76934 has merged, we can remove a lot of these! E.g, this is no longer necessary: [`Vec<T>`]: Vec | ||||
| 2020-12-21 | Rollup merge of #80159 - jyn514:array, r=m-ou-se | Dylan DPC | -1/+3 | |
| Add array search aliases Missed this in https://github.com/rust-lang/rust/pull/80068. This one will really fix https://github.com/rust-lang/rust/issues/46075. The last alias especially I'm a little unsure about - maybe fuzzy search should be fixed in rustdoc instead? Happy to make that change although I'd have to figure out how. r? ``@m-ou-se`` although cc ``@GuillaumeGomez`` for the search issue. | ||||
| 2020-12-19 | Rollup merge of #80068 - jyn514:mut-reference, r=m-ou-se | Yuki Okushi | -0/+1 | |
| Add `&mut` as an alias for 'reference' primitive Closes https://github.com/rust-lang/rust/issues/46075. | ||||
| 2020-12-18 | Add array search aliases | Joshua Nelson | -1/+3 | |
| 2020-12-15 | Add `&mut` as an alias for 'reference' primitive | Joshua Nelson | -0/+1 | |
| 2020-12-11 | doc: apply suggestions | William Woodruff | -2/+3 | |
| 2020-12-10 | doc(array,vec): add notes about side effects when empty-initializing | William Woodruff | -0/+3 | |
| 2020-12-02 | Use more std:: instead of core:: in docs for consistency, add more intra doc ↵ | Alexis Bourget | -2/+2 | |
| links | ||||
| 2020-11-05 | Rollup merge of #78757 - camelid:crate-link-text, r=jyn514 | Mara Bos | -6/+6 | |
| Improve and clean up some intra-doc links | ||||
| 2020-11-04 | Add missing comma | Camelid | -1/+1 | |
| 'Note however,' -> 'Note, however,' | ||||
| 2020-11-04 | Clean up some intra-doc links | Camelid | -5/+5 | |
| 2020-11-04 | Move Copy and Clone into the list of traits implemented for all sizes | est31 | -6/+3 | |
| 2020-10-15 | Fix link to foreign calling conventions | Matthew Kraai | -0/+2 | |
| 2020-09-26 | Add doc alias for pointer primitive | Guillaume Gomez | -0/+1 | |
| 2020-09-03 | Rollup merge of #76164 - lzutao:slice-array, r=ehuss | Dylan DPC | -3/+3 | |
| Link to slice pattern in array docs Fix a todo in https://github.com/rust-lang/reference/issues/739#issuecomment-578408449 | ||||
| 2020-08-31 | Break line at 100 characters | Camelid | -2/+2 | |
| 2020-08-31 | Improve `assert!` section in `bool` docs | Camelid | -2/+2 | |
| 2020-08-31 | Improve wording | Camelid | -2/+2 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-08-31 | Remove empty comment | Camelid | -1/+0 | |
| 2020-08-31 | Redefine `Debug` instead of importing it | Camelid | -1/+4 | |
| This reverts commit 7e2548fe69ff5ec4e5e06c8c28351cbf2ebf7eee. Now I know why it was redefined: it seems like it's potentially because of the orphan rule. Here are the error messages: error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `!`: --> src/primitive_docs.rs:236:1 | 6 | impl Debug for ! { | ^^^^^^^^^^^^^^^^ | = note: conflicting implementation in crate `core`: - impl std::fmt::Debug for !; error[E0117]: only traits defined in the current crate can be implemented for arbitrary types --> src/primitive_docs.rs:236:1 | 6 | impl Debug for ! { | ^^^^^^^^^^^^^^^- | | | | | `!` is not defined in the current crate | impl doesn't use only types from inside the current crate | = note: define and implement a trait or new type instead | ||||
| 2020-08-31 | Link to slice pattern in array docs | Lzu Tao | -3/+3 | |
| 2020-08-30 | Explain why the `0` is a `u32` | Camelid | -2/+3 | |
| 2020-08-30 | Import `Debug` instead of redefining it | Camelid | -4/+1 | |
| 2020-08-29 | other branch -> `else` branch | Camelid | -1/+1 | |
| 2020-08-29 | Be more specific about polymorphic return types | Camelid | -4/+4 | |
| I no longer say "polymorphic" since it's a bit ambiguous here. | ||||
| 2020-08-29 | Specify `0` of type `u32` | Camelid | -2/+2 | |
| 2020-08-29 | It's only an issue without an `impl Trait for !` | Camelid | -4/+4 | |
| 2020-08-29 | cannot have divergence -> cannot diverge | Camelid | -3/+3 | |
| 2020-08-29 | Add info about `!` and `impl Trait` | Camelid | -2/+35 | |
| 2020-08-26 | Merge conflict fix: disambiguate f32 -> prim@f32 and u32 -> prim@u32 | Surya Midatala | -0/+2 | |
| 2020-08-26 | Fix link to `f32` | Joshua Nelson | -1/+1 | |
| Co-authored-by: Oliver Middleton <olliemail27@gmail.com> | ||||
| 2020-08-26 | Use crate::mod to disambiguate links | Surya Midatala | -4/+4 | |
| 2020-08-26 | Add suggestions from code review | Surya Midatala | -6/+6 | |
| 2020-08-26 | Add missed links in primitive_docs.rs | Surya Midatala | -2/+2 | |
| 2020-08-26 | Move to intra-doc links for wasi/ext/fs.rs, os_str_bytes.rs, ↵ | Surya Midatala | -115/+63 | |
| primitive_docs.rs & poison.rs | ||||
| 2020-08-23 | Auto merge of #75028 - MrModder:master, r=steveklabnik | bors | -0/+14 | |
| Document that slice refers to any pointer type to a sequence I was recently confused about the way slices are represented in memory. The necessary information was not available in the std-docs directly, but was a mix of different material from the reference and book. This PR should clear up the definition of slices a bit more in the documentation. Especially the fact that the term slice refers to the pointer/reference type, e.g. `&[T]`, and not `[T]`. It also documents that slice pointers are twice the size of pointers to `Sized` types, as this concept may be unfamiliar to users coming from other languages that do not have the concept of "fat pointers" (especially C/C++). I've documented why this was important to me and my findings in [this blog post](https://codecrash.me/understanding-rust-slices). r? @lcnr | ||||
| 2020-08-23 | Revert changed paragraph about slice definition. | Leon Matthes | -2/+2 | |
| This reverts part of commit e6c83dd57b920d2069797736ae0a1c9fe14a97cb. As requested by @steveklabnik . | ||||
| 2020-08-13 | Rollup merge of #75477 - RalfJung:fn-ptrs, r=Mark-Simulacrum | Tyler Mandry | -9/+48 | |
| Expand function pointer docs Be more explicit in the ABI section, and add a section on how to obtain a function pointer, which can be somewhat confusing. Cc https://github.com/rust-lang/rust/issues/75239 | ||||
| 2020-08-13 | fn type: structure, and talk a bit more about ABIs and how to create them | Ralf Jung | -9/+48 | |
| 2020-08-11 | Fix minor things in the `f32` primitive docs | Lukas Kalbertodt | -5/+3 | |
| All of these were review comments in #74621 that I first fixed in that PR, but later accidentally overwrote by a force push. | ||||
| 2020-08-01 | Add missing import to Rc | Leon Matthes | -0/+1 | |
| 2020-08-01 | Add missing period | Leon Matthes | -1/+1 | |
| 2020-08-01 | Document that slice means pointer to a sequence | Leon Matthes | -2/+15 | |
| Also document that slices are twice as large as pointers to Sized types | ||||
| 2020-07-28 | Improve `f32` and `f64` primitive documentation | Lukas Kalbertodt | -3/+41 | |
| 2020-07-27 | mv std libs to library/ | mark | -0/+1110 | |
