Skip to content

Commit 15bbbda

Browse files
committed
1 parent 035ecb5 commit 15bbbda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/export.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ pub struct Barrier {
8888
}
8989

9090
impl Barrier {
91+
#[allow(clippy::new_without_default)]
9192
pub const fn new() -> Self {
9293
Barrier {
9394
inner: AtomicBool::new(false),
@@ -264,7 +265,7 @@ pub unsafe fn lock<T, R, const M: usize>(
264265
/// - we execute the closure in a global critical section (interrupt free)
265266
/// - CS entry cost, single write to core register
266267
/// - CS exit cost, single write to core register
267-
/// else
268+
/// - else
268269
/// - The `mask` value is folded to a constant at compile time
269270
/// - CS entry, single write of the 32 bit `mask` to the `icer` register
270271
/// - CS exit, single write of the 32 bit `mask` to the `iser` register

0 commit comments

Comments
 (0)