Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
acd3962
Fix typo in release notes
camelid Aug 25, 2020
91e4aaa
Use intra-doc links for `core/src/slice.mod.rs`
Amjad50 Aug 26, 2020
8e33137
Fixes `intra-doc` same scope links
Amjad50 Aug 26, 2020
a04e120
Used intra-doc links for `NonNull::dangling()` occurrences
Amjad50 Aug 26, 2020
6aae4a2
Used intra-doc links for `ptr#safety` occurrences
Amjad50 Aug 26, 2020
2d6ab12
Liballoc extend use intra doc link
pickfire Aug 28, 2020
7be129e
Add missing hyphen
camelid Aug 28, 2020
c7e428e
Liballoc vec doc use associated function
pickfire Aug 29, 2020
8a92718
Switch to intra-doc links in core/src/{convert,iter}/mod.rs
nixphix Aug 27, 2020
01d95f2
resolve comments
nixphix Aug 27, 2020
300a007
Fix intra-doc path resolution problem in `library/alloc/src/slice.rs`
Amjad50 Aug 30, 2020
7ea4c28
add i32::MAX link
nixphix Aug 30, 2020
523fea4
revert Some(Item) link
nixphix Aug 30, 2020
a97dcfa
Run cfg-stripping on generic parameters before invoking derive macros
Aaron1011 Aug 28, 2020
ccffea5
Move lexer unit tests to rustc_lexer
matklad Aug 29, 2020
518cac9
Remove unused function
matklad Aug 29, 2020
6ff471b
ty: remove obsolete printer
davidtwco Aug 28, 2020
7dfbf59
cleanup: Remove duplicate library names from `Cargo.toml`s
petrochenkov Jul 23, 2020
30dc32b
Add (non-public) slice::split_at_unchecked() and split_at_mut_uncheck…
sdroege Aug 28, 2020
d08996a
Get rid of bounds check in slice::chunks_exact() and related function…
sdroege Aug 26, 2020
8d3cf92
Improve documentation of slice::get_unchecked() / split_at_unchecked()
sdroege Aug 30, 2020
096b49c
Rollup merge of #74668 - petrochenkov:noname, r=mark-i-m
Dylan-DPC Aug 30, 2020
74d6b94
Rollup merge of #75926 - camelid:patch-5, r=jonas-schievink
Dylan-DPC Aug 30, 2020
213116f
Rollup merge of #75932 - Amjad50:intra-doc-core-slice, r=jyn514
Dylan-DPC Aug 30, 2020
7919f05
Rollup merge of #75936 - sdroege:chunks-exact-construction-bounds-che…
Dylan-DPC Aug 30, 2020
e1276a3
Rollup merge of #75969 - nixphix:docs/mod, r=jyn514
Dylan-DPC Aug 30, 2020
de5646d
Rollup merge of #76010 - Aaron1011:fix/cfg-generic-param, r=petrochenkov
Dylan-DPC Aug 30, 2020
54fd272
Rollup merge of #76023 - pickfire:patch-4, r=jyn514
Dylan-DPC Aug 30, 2020
10fb8d4
Rollup merge of #76027 - davidtwco:issue-61139-remove-obsolete-pretty…
Dylan-DPC Aug 30, 2020
264356f
Rollup merge of #76033 - camelid:patch-7, r=Dylan-DPC
Dylan-DPC Aug 30, 2020
46d66d9
Rollup merge of #76050 - matklad:pos, r=petrochenkov
Dylan-DPC Aug 30, 2020
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
Used intra-doc links for ptr#safety occurrences
  • Loading branch information
Amjad50 committed Aug 28, 2020
commit 6aae4a2fe68f0025d0bae0e97e614bfd3540eb97
4 changes: 2 additions & 2 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6427,7 +6427,7 @@ unsafe impl<'a, T> TrustedRandomAccess for RChunksExactMut<'a, T> {
/// }
/// ```
///
/// [valid]: ../../std/ptr/index.html#safety
/// [valid]: crate::ptr#safety
/// [`NonNull::dangling()`]: crate::ptr::NonNull::dangling
/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset
#[inline]
Expand Down Expand Up @@ -6467,7 +6467,7 @@ pub unsafe fn from_raw_parts<'a, T>(data: *const T, len: usize) -> &'a [T] {
/// * The total size `len * mem::size_of::<T>()` of the slice must be no larger than `isize::MAX`.
/// See the safety documentation of [`pointer::offset`].
///
/// [valid]: ../../std/ptr/index.html#safety
/// [valid]: crate::ptr#safety
/// [`NonNull::dangling()`]: crate::ptr::NonNull::dangling
/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset
#[inline]
Expand Down