rust/library/core/src/slice
Joshua Nelson 7b46920218 Fix linkcheck issues
Most of these are because alloc uses `#[lang_item]` to define methods,
but core documents primitives before those methods are available.

- Fix rustdoc-js-std test

  For some reason this change made CStr not show up in the results for
  `str,u8`. Since it still shows up for str, and since it wasn't a great
  match for that query anyway, I think this is ok to let slide.

- Add test that all primitives can be linked to
- Enable `doc(primitive)` in `core` as well
- Add linkcheck exception specifically for Windows

  Ideally this would be done automatically by the linkchecker by
  replacing `\\` with forward slashes, but this PR is already a ton of
  work ...

- Don't forcibly fail linkchecking if there's a broken intra-doc link on Windows

  Previously, it would exit with a hard error if a missing file had `::`
  in it. This changes it to report a missing file instead, which allows
  adding an exception.
2021-09-12 02:30:24 +00:00
..
iter #[inline] slice::advance_by 2021-08-03 21:32:36 +02:00
ascii.rs Perf Experiment: Wait, what if I just skip the trait alias 2021-05-06 11:37:46 -07:00
cmp.rs Remove pointer comparison from slice equality 2020-12-26 06:43:51 +00:00
index.rs Bump slice_index_with_ops_bound_pair to 1.53.0 2021-04-21 22:40:19 +02:00
iter.rs Test and fix size_hint for slice's [r]split* iterators 2021-08-12 17:26:03 +02:00
memchr.rs Document unsafety in core::slice::memchr 2020-10-05 11:34:03 +02:00
mod.rs Fix linkcheck issues 2021-09-12 02:30:24 +00:00
raw.rs Convert primitives to use intra-doc links 2021-02-25 20:31:53 -05:00
rotate.rs Add safety comments in private core::slice::rotate::ptr_rotate function 2021-07-14 15:31:12 +02:00
sort.rs Add SAFETY comments to core::slice::sort::partition_in_blocks 2021-08-24 16:47:26 -03:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00