This commit is contained in:
james7132 2024-04-13 00:05:27 -07:00
parent 45a9e02da3
commit c766b46d0c
No known key found for this signature in database
GPG Key ID: BDB0606BDC85825B
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ impl<T> ConcurrentQueue<T> {
// Loom's primitives are not const constructible.
#[cfg(loom)]
pub const fn unbounded() -> ConcurrentQueue<T> {
pub fn unbounded() -> ConcurrentQueue<T> {
ConcurrentQueue(Inner::Unbounded(Unbounded::new()))
}