- 27 3月, 2019 17 次提交
-
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 varkor 提交于
-
由 bors 提交于
Rollup of 7 pull requests Successful merges: - #59004 ([rustdoc] Improve "in parameters" search and search more generally) - #59026 (Fix moving text in search tabs headers) - #59197 (Exclude old book redirect stubs from search engines) - #59330 (Improve the documentation for std::convert (From, Into, AsRef and AsMut)) - #59424 (Fix code block display in portability element in dark theme) - #59427 (Link to PhantomData in NonNull documentation) - #59432 (Improve some compiletest documentation) Failed merges: r? @ghost
-
由 bors 提交于
Rebase LLVM to 8.0.0 final r? @alexcrichton
-
由 Guillaume Gomez 提交于
Improve some compiletest documentation This adds some missing documentation for rustfix related things and adds a test for the `is_test` function.
-
由 Guillaume Gomez 提交于
Link to PhantomData in NonNull documentation
-
由 Guillaume Gomez 提交于
Fix code block display in portability element in dark theme Fixes #59261. r? @QuietMisdreavus A little screenshot: <img width="521" alt="Screenshot 2019-03-26 at 00 37 49" src="https://user-images.githubusercontent.com/3050060/54961082-9a41c600-4f5f-11e9-8040-ae6f26d368ff.png">
-
由 Guillaume Gomez 提交于
Improve the documentation for std::convert (From, Into, AsRef and AsMut) # Description In this PR I updated the documentation of From, Into, AsRef and AsMut, as well as the general std::convert module documentation. The discussion in #59163 provided information that was not yet present in the docs, or was not expressed clearly enough. I tried to clarify the examples that were already present in the docs as well as add more information about considered best-practices that came out of the discussion in #59163 @steveklabnik I hope I didn't change too much. This is an initial version! I will scan through everything tomorrow as well again to see if I made any typo's or errors, and maybe make some small changes here and there. All suggestions are welcome! closes #59163
-
由 Guillaume Gomez 提交于
Exclude old book redirect stubs from search engines Adds `<meta name="robots" content="noindex,follow">` to the `<head>` of old stub pages pointing to the second edition of the book. This is continuation of https://github.com/rust-lang/book/pull/1788
-
由 Guillaume Gomez 提交于
Fix moving text in search tabs headers Fixes #59005. Now, the text in the search tabs headers isn't moving anymore. r? @QuietMisdreavus
-
由 Guillaume Gomez 提交于
[rustdoc] Improve "in parameters" search and search more generally Fixes #58230. r? @QuietMisdreavus
-
由 bors 提交于
Rollup of 10 pull requests Successful merges: - #59150 (Expand suggestions for type ascription parse errors) - #59232 (Merge `Promoted` and `Static` in `mir::Place`) - #59267 (Provide suggestion when using field access instead of path) - #59315 (Add no_hash to query macro and move some queries over) - #59334 (Update build instructions in README.md) - #59362 (Demo `FromIterator` short-circuiting) - #59374 (Simplify checked_duration_since) - #59389 (replace redundant note in deprecation warning) - #59410 (Clarify `{Ord,f32,f64}::clamp` docs a little) - #59419 (Utilize `?` instead of `return None`.) Failed merges: r? @ghost
-
- 26 3月, 2019 22 次提交
-
-
由 bors 提交于
Bump bootstrap compiler to 2019-03-20 Includes https://github.com/rust-lang/rust/pull/59295 and by extension https://github.com/rust-lang/rust/pull/59047, which unblocks https://github.com/rust-lang/rust/pull/58253, https://github.com/rust-lang/rust/pull/58837, and possibly https://github.com/rust-lang/rust/pull/59336, and so therefore: @bors p=50 r? @Mark-Simulacrum cc @pietroalbini
-
由 Mazdak Farrokhzad 提交于
-
由 Mazdak Farrokhzad 提交于
-
由 Mazdak Farrokhzad 提交于
-
由 Mazdak Farrokhzad 提交于
Utilize `?` instead of `return None`. None
-
由 Mazdak Farrokhzad 提交于
Clarify `{Ord,f32,f64}::clamp` docs a little Explicitly call out when it returns NaN, adhere to the panic doc guidelines.
-
由 Mazdak Farrokhzad 提交于
replace redundant note in deprecation warning
-
由 Mazdak Farrokhzad 提交于
Simplify checked_duration_since This follows the same design as we updated to in #56490. Internally, all the system specific time implementations are checked, no panics. Then the panicking publicly exported API can just call the checked version of itself and make do with a single panic (`expect`) at the top. Since the internal sys implementations are now checked, this gets rid of the extra `if self >= &earlier` check in `checked_duration_since`. Except likely making the generated machine code simpler, it also reduces the algorithm from "Check panic condition -> call possibly panicking method" to just "call non panicking method". Added two test cases: * Edge case: Make sure `checked_duration_since` on two equal `Instant`s produce a zero duration, not a `None`. * Most common/intended usage: Make sure `later.checked_duration_since(earlier)`, returns an expected value.
-
由 Mazdak Farrokhzad 提交于
Demo `FromIterator` short-circuiting while looking at a FIXME in `FromIterator for Option` and `FromIterator for Result`, I realized that the current documentation does not have example code showing exactly what is meant by "no further elements are taken." The code snippets provided here are meant to correct that.
-
由 Mazdak Farrokhzad 提交于
Update build instructions in README.md Add additional instructions when `sudo ./x.py install` fails to complete the build. This resolves issues #40108 and #49269. r? @steveklabnik
-
由 Mazdak Farrokhzad 提交于
Add no_hash to query macro and move some queries over r? @oli-obk
-
由 Mazdak Farrokhzad 提交于
Provide suggestion when using field access instead of path When trying to access an associated constant as if it were a field of an instance, provide a suggestion for the correct syntax. Fix #57316.
-
由 Mazdak Farrokhzad 提交于
Merge `Promoted` and `Static` in `mir::Place` fixes #53848
-
由 Mazdak Farrokhzad 提交于
Expand suggestions for type ascription parse errors Fix #51222. CC #48016, #47666, #54516, #34255.
-
由 Philipp Hansch 提交于
This adds some missing documentation for rustfix related things and adds a test for the `is_test` function.
-
由 bors 提交于
SGX target: fix std unit tests This fixes some tests and some code in the SGX sys implementation to make the `std` unit test suite pass. #59009 must be merged first.
-
由 Guillaume Gomez 提交于
-
由 Corey Farwell 提交于
-
由 Chris Gregory 提交于
-
由 Christian 提交于
-
由 Jethro Beekman 提交于
-
由 bors 提交于
filter suggestions from extern prelude Fixes #59027. Modifies the candidate gathering code to call `filter_fn` on extern crates, which causes them to be filtered out when looking for a type.
-
- 25 3月, 2019 1 次提交
-
-
由 bors 提交于
Make meta-item API compatible with `LocalInternedString::get` soundness fix r? @Zoxc
-