Skip to content

Commit d894ce8

Browse files
committed
fmt
1 parent a7f84e9 commit d894ce8

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

library/core/src/hash/mod.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -753,10 +753,7 @@ pub struct BuildHasherDefault<H>(marker::PhantomData<fn() -> H>);
753753
impl<H> BuildHasherDefault<H> {
754754
/// Creates a new BuildHasherDefault for Hasher `H`.
755755
#[stable(feature = "build_hasher_default_const_new", since = "1.85.0")]
756-
#[rustc_const_stable(
757-
feature = "build_hasher_default_const_new",
758-
since = "1.85.0"
759-
)]
756+
#[rustc_const_stable(feature = "build_hasher_default_const_new", since = "1.85.0")]
760757
pub const fn new() -> Self {
761758
BuildHasherDefault(marker::PhantomData)
762759
}

library/std/src/collections/hash/map.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,7 @@ impl<K, V, S> HashMap<K, V, S> {
296296
/// ```
297297
#[inline]
298298
#[stable(feature = "hashmap_build_hasher", since = "1.7.0")]
299-
#[rustc_const_stable(
300-
feature = "const_collections_with_hasher",
301-
since = "1.85.0"
302-
)]
299+
#[rustc_const_stable(feature = "const_collections_with_hasher", since = "1.85.0")]
303300
pub const fn with_hasher(hash_builder: S) -> HashMap<K, V, S> {
304301
HashMap { base: base::HashMap::with_hasher(hash_builder) }
305302
}

library/std/src/collections/hash/set.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,7 @@ impl<T, S> HashSet<T, S> {
388388
/// ```
389389
#[inline]
390390
#[stable(feature = "hashmap_build_hasher", since = "1.7.0")]
391-
#[rustc_const_stable(
392-
feature = "const_collections_with_hasher",
393-
since = "1.85.0"
394-
)]
391+
#[rustc_const_stable(feature = "const_collections_with_hasher", since = "1.85.0")]
395392
pub const fn with_hasher(hasher: S) -> HashSet<T, S> {
396393
HashSet { base: base::HashSet::with_hasher(hasher) }
397394
}

src/bootstrap/src/core/build_steps/install.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ impl Step for Src {
307307

308308
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
309309
let config = &run.builder.config;
310-
let cond = config.extended && config.tools.as_ref().is_none_or(|t|t.contains("src"));
310+
let cond = config.extended && config.tools.as_ref().is_none_or(|t| t.contains("src"));
311311
run.path("src").default_condition(cond)
312312
}
313313

0 commit comments

Comments
 (0)