Skip to content

Commit 8291ac0

Browse files
committed
Fix formatting
1 parent 2673297 commit 8291ac0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ use crate::endpoint::{
33
IsochronousUsageType,
44
};
55
use crate::{Result, UsbDirection, UsbError};
6+
use atomic_polyfill::{AtomicPtr, Ordering};
67
use core::cell::RefCell;
78
use core::mem;
89
use core::ptr;
9-
use atomic_polyfill::{AtomicPtr, Ordering};
1010

1111
/// A trait for device-specific USB peripherals. Implement this to add support for a new hardware
1212
/// platform.

src/endpoint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::bus::UsbBus;
22
use crate::{Result, UsbDirection};
3-
use core::marker::PhantomData;
43
use atomic_polyfill::{AtomicPtr, Ordering};
4+
use core::marker::PhantomData;
55

66
/// Trait for endpoint type markers.
77
pub trait EndpointDirection {

0 commit comments

Comments
 (0)