Skip to content

Commit 876471f

Browse files
committed
Auto merge of rust-lang#122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - rust-lang#121958 (Fix redundant import errors for preload extern crate) - rust-lang#121976 (Add an option to have an external download/bootstrap cache) - rust-lang#122022 (loongarch: add frecipe and relax target feature) - rust-lang#122026 (Do not try to format removed files) - rust-lang#122027 (Uplift some feeding out of `associated_type_for_impl_trait_in_impl` and into queries) - rust-lang#122063 (Make the lowering of `thir::ExprKind::If` easier to follow) - rust-lang#122074 (Add missing PartialOrd trait implementation doc for array) - rust-lang#122082 (remove outdated fixme comment) - rust-lang#122091 (Note why we're using a new thread in `test_get_os_named_thread`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 13dbe43 + f70d915 commit 876471f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/src/array/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ where
360360
}
361361
}
362362

363+
/// Implements comparison of arrays [lexicographically](Ord#lexicographical-comparison).
363364
#[stable(feature = "rust1", since = "1.0.0")]
364365
impl<T: PartialOrd, const N: usize> PartialOrd for [T; N] {
365366
#[inline]

std/src/thread/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ fn test_named_thread_truncation() {
8080
#[test]
8181
fn test_get_os_named_thread() {
8282
use crate::sys::thread::Thread;
83+
// Spawn a new thread to avoid interfering with other tests running on this thread.
8384
let handler = thread::spawn(|| {
8485
let name = c"test me please";
8586
Thread::set_name(name);

0 commit comments

Comments
 (0)