Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d1d4fb3

Browse files
committedJul 28, 2024
Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
1 parent 06a22c9 commit d1d4fb3

File tree

524 files changed

+1546
-2192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

524 files changed

+1546
-2192
lines changed
 

‎alloc/src/collections/btree/set/tests.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
use std::ops::Bound::{Excluded, Included};
2+
use std::panic::{catch_unwind, AssertUnwindSafe};
3+
14
use super::*;
25
use crate::testing::crash_test::{CrashTestDummy, Panic};
36
use crate::testing::rng::DeterministicRng;
4-
use std::ops::Bound::{Excluded, Included};
5-
use std::panic::{catch_unwind, AssertUnwindSafe};
67

78
#[test]
89
fn test_clone_eq() {

‎alloc/src/collections/btree/split.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
use super::node::{ForceResult::*, Root};
2-
use super::search::SearchResult::*;
31
use core::alloc::Allocator;
42
use core::borrow::Borrow;
53

4+
use super::node::ForceResult::*;
5+
use super::node::Root;
6+
use super::search::SearchResult::*;
7+
68
impl<K, V> Root<K, V> {
79
/// Calculates the length of both trees that result from splitting up
810
/// a given number of distinct key-value pairs.
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.