Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 729c972

Browse files
committed
Satisfy rustfmt
1 parent 8dbcaf9 commit 729c972

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/boxed.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,10 @@
7979
//! [`NonZeroLayout::for_value(&*value)`]: crate::alloc::NonZeroLayout::for_value
8080
8181
use crate::{
82-
handle_reserve_error,
83-
alloc::{
84-
handle_alloc_error,
85-
AllocErr,
86-
AllocInit,
87-
AllocRef,
88-
Global,
89-
Layout,
90-
},
82+
alloc::{handle_alloc_error, AllocErr, AllocInit, AllocRef, Global, Layout},
9183
clone::CloneIn,
9284
collections::TryReserveError::{self, AllocError},
85+
handle_reserve_error,
9386
ptr::Unique,
9487
raw_vec::RawVec,
9588
};

src/vec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@
6868
//! [`IndexMut`]: core::ops::IndexMut
6969
//! [`vec!`]: ../macro.vec.html
7070
71-
use crate::{handle_reserve_error,
71+
use crate::{
7272
alloc::{handle_alloc_error, AllocRef, Global},
7373
boxed::Box,
7474
capacity_overflow,
7575
clone::CloneIn,
7676
collections::TryReserveError::{self, AllocError, CapacityOverflow},
77+
handle_reserve_error,
7778
iter::{FromIteratorIn, TryExtend},
7879
raw_vec::RawVec,
7980
};

0 commit comments

Comments
 (0)