Skip to content

Commit 5e61c4f

Browse files
committed
Fix no_std builds
1 parent 64ae358 commit 5e61c4f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/bevy_platform/src/sync/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ mod implementation {
106106

107107
#[cfg(not(feature = "std"))]
108108
mod implementation {
109-
use crate::sync::{LockResult, TryLockError, TryLockResult};
109+
use crate::sync::{TryLockError, TryLockResult};
110110
use core::fmt;
111111

112112
pub use spin::MutexGuard;

crates/bevy_platform/src/sync/poison.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Provides `LockResult`, `PoisonError`, `TryLockError`, `TryLockResult`
1+
//! Provides `TryLockError`, `TryLockResult`
22
33
use core::{error::Error, fmt};
44

crates/bevy_platform/src/sync/rwlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ mod implementation {
141141

142142
#[cfg(not(feature = "std"))]
143143
mod implementation {
144-
use crate::sync::{LockResult, TryLockError, TryLockResult};
144+
use crate::sync::{TryLockError, TryLockResult};
145145
use core::fmt;
146146

147147
pub use spin::rwlock::{RwLockReadGuard, RwLockWriteGuard};

0 commit comments

Comments
 (0)