Skip to content

Rollup of 8 pull requests #130269

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

Merged
merged 19 commits into from
Sep 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
97df8fb
Fix default/minimum deployment target for Aarch64 simulator targets
madsmtm Aug 21, 2024
99cad12
Fix slice::first_mut docs
Scripter17 Sep 9, 2024
713828d
Add test for S_OBJNAME and update test for LF_BUILDINFO cl and cmd for
nebulark Sep 6, 2024
954419a
Simplify some nested if statements
compiler-errors Sep 11, 2024
af8d911
Also fix if in else
compiler-errors Sep 11, 2024
6d06429
clippy::useless_conversion
compiler-errors Sep 11, 2024
594de02
Properly deny const gen/async gen fns
compiler-errors Sep 11, 2024
8dc2278
Remove unused functions from ast CoroutineKind
compiler-errors Sep 11, 2024
ed9b2ba
Re-run coverage tests if `coverage-dump` was modified
Zalathar Sep 12, 2024
d6ef1b9
Expand PathBuf documentation
ChrisJefferson May 13, 2024
45c471b
Fixup docs for PathBuf
workingjubilee Sep 12, 2024
8e037cc
Rollup merge of #125060 - ChrisJefferson:pathbuf-doc, r=workingjubilee
Zalathar Sep 12, 2024
65a5cd4
Rollup merge of #129367 - madsmtm:fix-apple-aarch64-deployment-target…
Zalathar Sep 12, 2024
c7162da
Rollup merge of #130156 - nebulark:test_buildinfo, r=jieyouxu
Zalathar Sep 12, 2024
c3d1be7
Rollup merge of #130160 - Scripter17:fix-slice-first_mut-doc, r=Amanieu
Zalathar Sep 12, 2024
3ba1275
Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoerister
Zalathar Sep 12, 2024
57020e0
Rollup merge of #130250 - compiler-errors:useless-conversion, r=jieyouxu
Zalathar Sep 12, 2024
a3d9d13
Rollup merge of #130252 - compiler-errors:const-gen, r=chenyukang
Zalathar Sep 12, 2024
458a57a
Rollup merge of #130256 - Zalathar:dump-stamp, r=jieyouxu
Zalathar Sep 12, 2024
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
Fixup docs for PathBuf
  • Loading branch information
workingjubilee committed Sep 12, 2024
commit 45c471b1f3421fff4f29fae80d507831c836f40f
4 changes: 2 additions & 2 deletions library/std/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ impl FusedIterator for Ancestors<'_> {}
///
/// Which method works best depends on what kind of situation you're in.
///
/// Note that `PathBuf`` does not always sanitize arguments, for example
/// Note that `PathBuf` does not always sanitize arguments, for example
/// [`push`] allows paths built from strings which include separators:
///
/// use std::path::PathBuf;
Expand All @@ -1167,7 +1167,7 @@ impl FusedIterator for Ancestors<'_> {}
/// path.push("system32");
///
/// The behaviour of `PathBuf` may be changed to a panic on such inputs
/// in the future. The [`extend`] method should be used to add multi-part paths.
/// in the future. [`Extend::extend`] should be used to add multi-part paths.
#[cfg_attr(not(test), rustc_diagnostic_item = "PathBuf")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct PathBuf {
Expand Down
Loading