Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
900c13e
enhance the documentation of std::io::BufReader regarding potential d…
Oct 18, 2019
5b5196a
rephrase sentence regarding data loss when using BufReader::into_inner
Oct 23, 2019
05c0791
consistent handling of missing sysroot spans
RalfJung Nov 2, 2019
1808968
also adjust ignore in generated tests
RalfJung Nov 2, 2019
f66a331
When a URL hash refers to a hidden element, it makes the element visible
GuillaumeGomez Nov 5, 2019
62167c0
using 2.0.log(2.0) in examples does not make it clear which is the b…
srinivasreddy Nov 6, 2019
c965432
Ignore these tests ,since the called commands doesn't exist in VxWorks
Oct 30, 2019
24e093c
Remove old isHidden function
GuillaumeGomez Nov 7, 2019
d4527b7
Only call onHashChange instead of both functions
GuillaumeGomez Nov 7, 2019
1906c6f
Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get…
SimonSapin Oct 18, 2019
05c14bc
Apply docs suggestions from review
SimonSapin Oct 26, 2019
639c4f7
MaybeUninit::uninit_array docs: better example
SimonSapin Oct 26, 2019
ccde510
rustc_target: inline abi::FloatTy into abi::Primitive.
eddyb Nov 7, 2019
8590b16
rustc_metadata: Move decoder/encoder/table into mod schema
petrochenkov Nov 3, 2019
8e1ae56
rustc_metadata: Privatize everything in schema and schema/table
petrochenkov Nov 3, 2019
0c9d424
rustc_metadata: Move cstore_impl into mod decoder
petrochenkov Nov 3, 2019
166d5f8
rustc_metadata: Privatize everything in decoder
petrochenkov Nov 3, 2019
2b75147
rustc_metadata: Privatize more entities
petrochenkov Nov 3, 2019
5eb1cf1
rustc_metadata: Rename `schema` to `rmeta`
petrochenkov Nov 4, 2019
32aa327
Rollup merge of #65554 - gliderkite:bufreader-doc-enhance, r=KodrAus
JohnTitor Nov 8, 2019
a00c777
Rollup merge of #65580 - SimonSapin:maybeuninit-array, r=Amanieu
JohnTitor Nov 8, 2019
9dc5d0e
Rollup merge of #66049 - RalfJung:missing-spans, r=alexcrichton
JohnTitor Nov 8, 2019
996d94a
Rollup merge of #66056 - petrochenkov:metapriv, r=eddyb
JohnTitor Nov 8, 2019
392ebad
Rollup merge of #66123 - GuillaumeGomez:no-more-hidden-elements, r=Dy…
JohnTitor Nov 8, 2019
1455381
Rollup merge of #66157 - srinivasreddy:improv, r=alexcrichton
JohnTitor Nov 8, 2019
63a4551
Rollup merge of #66165 - Wind-River:master_xyz, r=alexcrichton
JohnTitor Nov 8, 2019
1969f41
Rollup merge of #66190 - eddyb:primflt, r=Centril
JohnTitor Nov 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply docs suggestions from review
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
  • Loading branch information
SimonSapin and Centril committed Nov 7, 2019
commit 05c14bcc3180092ec4c03d59977abf96db7b4b7a
8 changes: 4 additions & 4 deletions src/libcore/mem/maybe_uninit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,11 +721,11 @@ impl<T> MaybeUninit<T> {
&mut *self.value
}

/// Get a slice of assume-initialized items.
/// Assuming all the elements are initialized, get a slice to them.
///
/// # Safety
///
/// It is up to the caller to guarantee that the `MaybeUninit<T>` items
/// It is up to the caller to guarantee that the `MaybeUninit<T>` elements
/// really are in an initialized state.
/// Calling this when the content is not yet fully initialized causes undefined behavior.
#[unstable(feature = "maybe_uninit_slice_assume_init", issue = "0")]
Expand All @@ -734,11 +734,11 @@ impl<T> MaybeUninit<T> {
&*(slice as *const [Self] as *const [T])
}

/// Get a mutable slice of assume-initialized items.
/// Assuming all the elements are initialized, get a mutable slice to them.
///
/// # Safety
///
/// It is up to the caller to guarantee that the `MaybeUninit<T>` items
/// It is up to the caller to guarantee that the `MaybeUninit<T>` elements
/// really are in an initialized state.
/// Calling this when the content is not yet fully initialized causes undefined behavior.
#[unstable(feature = "maybe_uninit_slice_assume_init", issue = "0")]
Expand Down