-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 8 pull requests #66208
Rollup of 8 pull requests #66208
Commits on Oct 31, 2019
-
enhance the documentation of std::io::BufReader regarding potential d…
…ata loss
Marco Conte committedOct 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 900c13e - Browse repository at this point
Copy the full SHA 900c13eView commit details -
rephrase sentence regarding data loss when using BufReader::into_inner
Marco Conte committedOct 31, 2019 Configuration menu - View commit details
-
Copy full SHA for 5b5196a - Browse repository at this point
Copy the full SHA 5b5196aView commit details
Commits on Nov 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 05c0791 - Browse repository at this point
Copy the full SHA 05c0791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1808968 - Browse repository at this point
Copy the full SHA 1808968View commit details
Commits on Nov 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f66a331 - Browse repository at this point
Copy the full SHA f66a331View commit details -
using 2.0.log(2.0) in examples does not make it clear which is the ba…
…se and number. This example makes it clear for programmers who take a glance at the example by following the calculation. It is more intuitive, and eliminates the need for executing the example in the playground.
Configuration menu - View commit details
-
Copy full SHA for 62167c0 - Browse repository at this point
Copy the full SHA 62167c0View commit details
Commits on Nov 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c965432 - Browse repository at this point
Copy the full SHA c965432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24e093c - Browse repository at this point
Copy the full SHA 24e093cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4527b7 - Browse repository at this point
Copy the full SHA d4527b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1906c6f - Browse repository at this point
Copy the full SHA 1906c6fView commit details -
Apply docs suggestions from review
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05c14bc - Browse repository at this point
Copy the full SHA 05c14bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 639c4f7 - Browse repository at this point
Copy the full SHA 639c4f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccde510 - Browse repository at this point
Copy the full SHA ccde510View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8590b16 - Browse repository at this point
Copy the full SHA 8590b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e1ae56 - Browse repository at this point
Copy the full SHA 8e1ae56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c9d424 - Browse repository at this point
Copy the full SHA 0c9d424View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166d5f8 - Browse repository at this point
Copy the full SHA 166d5f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b75147 - Browse repository at this point
Copy the full SHA 2b75147View commit details -
rustc_metadata: Rename
schema
tormeta
And change `rmeta.rs` to `rmeta/mod.rs`
Configuration menu - View commit details
-
Copy full SHA for 5eb1cf1 - Browse repository at this point
Copy the full SHA 5eb1cf1View commit details
Commits on Nov 8, 2019
-
Rollup merge of rust-lang#65554 - gliderkite:bufreader-doc-enhance, r…
…=KodrAus Enhance the documentation of BufReader for potential data loss This is (IMO) and enhancement of the `std::io::BufReader` documentation, that aims to highlight how relatively easy is to end up with data loss when improperly using an instance of this class. This is following the issue I had figuring out why my application was loosing data, because I focused my attention on the word *multiple instances* of `BufReader` in its `struct` documentation, even if I ever only had one instance. Link to the issue: tokio-rs/tokio#1662
Configuration menu - View commit details
-
Copy full SHA for 32aa327 - Browse repository at this point
Copy the full SHA 32aa327View commit details -
Rollup merge of rust-lang#65580 - SimonSapin:maybeuninit-array, r=Ama…
…nieu Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get_mut` Eventually these will hopefully become the idiomatic way to work with partially-initialized stack buffers. All methods are unstable. Note that `uninit_array` takes a type-level `const usize` parameter, so it is blocked (at least in its current form) on const generics. Example: ```rust use std::mem::MaybeUninit; let input = b"Foo"; let f = u8::to_ascii_uppercase; let mut buffer: [MaybeUninit<u8>; 32] = MaybeUninit::uninit_array(); let vec; let output = if let Some(buffer) = buffer.get_mut(..input.len()) { buffer.iter_mut().zip(input).for_each(|(a, b)| { a.write(f(b)); }); unsafe { MaybeUninit::slice_get_ref(buffer) } } else { vec = input.iter().map(f).collect::<Vec<u8>>(); &vec }; assert_eq!(output, b"FOO"); ```
Configuration menu - View commit details
-
Copy full SHA for a00c777 - Browse repository at this point
Copy the full SHA a00c777View commit details -
Rollup merge of rust-lang#66049 - RalfJung:missing-spans, r=alexcrichton
consistent handling of missing sysroot spans Due to rust-lang#53081, sysroot spans (pointing to code in libcore/libstd/...) fails to print on some x86 runners. This consolidates the ignore directives for that and references the relevant issue. I also did that for the generated derive-error-span tests -- but there the script and the tests were not entirely in sync any more since rust-lang#64151. Cc @estebank @varkor
Configuration menu - View commit details
-
Copy full SHA for 9dc5d0e - Browse repository at this point
Copy the full SHA 9dc5d0eView commit details -
Rollup merge of rust-lang#66056 - petrochenkov:metapriv, r=eddyb
rustc_metadata: Some reorganization of the module structure The new structure of `rustc_metadata` (or rather its parts affected by the refactoring) is ``` ├── lib.rs └── rmeta ├── decoder │ └── cstore_impl.rs ├── decoder.rs ├── encoder.rs ├── mod.rs └── table.rs ``` (`schema` is renamed to `rmeta`.) The code inside `rmeta` is pretty self-contained, so we can now privatize almost everything in this module instead of using `pub(crate)` which was necessary when all these modules accessed their neighbors in the old flat structure. `encoder` and `decoder` work with structures defined by `rmeta`. `table` is a part of `rmeta`. `cstore_impl` actively uses decoder methods and exposes their results through very few public methods (`provide` and `_untracked` methods). r? @eddyb @spastorino
Configuration menu - View commit details
-
Copy full SHA for 996d94a - Browse repository at this point
Copy the full SHA 996d94aView commit details -
Rollup merge of rust-lang#66123 - GuillaumeGomez:no-more-hidden-eleme…
…nts, r=Dylan-DPC No more hidden elements Fixes rust-lang#66046. Follow-up of rust-lang#66082. r? @kinnison
Configuration menu - View commit details
-
Copy full SHA for 392ebad - Browse repository at this point
Copy the full SHA 392ebadView commit details -
Rollup merge of rust-lang#66157 - srinivasreddy:improv, r=alexcrichton
Improve math log documentation examples using 2.0.log(2.0) in examples does not make it clear which is the base and number. This example makes it clear for programmers who take a glance at the example by following the calculation. It is more intuitive, and eliminates the need for executing the example in the playground.
Configuration menu - View commit details
-
Copy full SHA for 1455381 - Browse repository at this point
Copy the full SHA 1455381View commit details -
Rollup merge of rust-lang#66165 - Wind-River:master_xyz, r=alexcrichton
Ignore these tests ,since the called commands doesn't exist in VxWorks
Configuration menu - View commit details
-
Copy full SHA for 63a4551 - Browse repository at this point
Copy the full SHA 63a4551View commit details -
Rollup merge of rust-lang#66190 - eddyb:primflt, r=Centril
rustc_target: inline abi::FloatTy into abi::Primitive. This effectively undoes a small part of @oli-obk's rust-lang#50967, now that the rest of the compiler doesn't use the `FloatTy` definition from `rustc_target`, post-rust-lang#65884.
Configuration menu - View commit details
-
Copy full SHA for 1969f41 - Browse repository at this point
Copy the full SHA 1969f41View commit details