1. 08 8月, 2021 7 次提交
    • B
      Auto merge of #87851 - JohnTitor:rollup-odvmr47, r=JohnTitor · 399ab460
      bors 提交于
      Rollup of 6 pull requests
      
      Successful merges:
      
       - #87744 (Add x.py option to --force-rerun compiletest tests)
       - #87789 (Make vec-shrink-panic test compatible with v0 mangling)
       - #87833 (Fix typo -- "The" -> "They")
       - #87834 (Fix small typo)
       - #87838 (Document that fs::read_dir skips . and ..)
       - #87842 (Fix intra doc link in hidden doc of Iterator::__iterator_get_unchecked)
      
      Failed merges:
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      399ab460
    • Y
      Rollup merge of #87842 - steffahn:hidden_broken_intra_doc, r=dtolnay · c159806c
      Yuki Okushi 提交于
      Fix intra doc link in hidden doc of Iterator::__iterator_get_unchecked
      
      Recently, I edited the import list of the `core::iter::traits::iterator` module (in #85874). This results in a broken intra doc link in a hidden documentation with the effect that `RUSTDOCFLAGS='--document-private-items --document-hidden-items' x doc library/std` fails. (This can be worked around by adding `-Arustdoc::broken-intra-doc-links`; still, it’s a broken link so let’s fix it.)
      
      ``@rustbot`` label C-cleanup, T-libs
      c159806c
    • Y
      Rollup merge of #87838 - jetomit:add-readdir-note, r=dtolnay · 34929004
      Yuki Okushi 提交于
      Document that fs::read_dir skips . and ..
      
      Hi,
      
      I think this is worth noting in the docs since it differs from POSIX `readdir`. I didn’t put it under platform-specific notes because it seems to be consistent across platforms, and changing this behavior in the future could cause pretty nasty bugs.
      
      Thanks!
      34929004
    • Y
      Rollup merge of #87834 - camelid:span-typo, r=CraftSpider · 08f56b7b
      Yuki Okushi 提交于
      Fix small typo
      
      The closing backtick was outside the closing bracket,
      which is why the intra-doc link wasn't working.
      08f56b7b
    • Y
      Rollup merge of #87833 - m-rsha:patch-1, r=Aaron1011 · 6ddbf9ec
      Yuki Okushi 提交于
      Fix typo -- "The" -> "They"
      
      I was reading through source code to try to learn more about the language and how to make the most of it when I ran into a small typo, so I figured I'd offer up a fix! I'm pretty new now, but hopefully I can offer up more substantial changes later. :D
      6ddbf9ec
    • Y
      Rollup merge of #87789 - tmiasko:panik, r=Mark-Simulacrum · dc78ee0c
      Yuki Okushi 提交于
      Make vec-shrink-panic test compatible with v0 mangling
      
      The v0 mangling includes an instantiating crate in a mangled name,
      which crates a false positive match for a word `panic`.
      Rename crate name / test case to avoid the issue.
      dc78ee0c
    • Y
      Rollup merge of #87744 - Smittyvb:xpy-test-force-rerun, r=Mark-Simulacrum · e862383d
      Yuki Okushi 提交于
      Add x.py option to --force-rerun compiletest tests
      
      This can be used like `./x.py test src/test/ui/abi/ --force-rerun`, and is useful when verifying that newly blessed tests don't change between test runs (such as due to being dependent on the current time or memory layout or RNG), without needing to change the test file or find the right file in `build` to remove.
      e862383d
  2. 07 8月, 2021 18 次提交
  3. 06 8月, 2021 15 次提交