Skip to content

Commit 141f8d4

Browse files
committed
Keep lines below 100 chars
1 parent e9da36a commit 141f8d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/spsc.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ impl<T, S: Storage> QueueInner<T, S> {
363363

364364
/// Splits a queue into producer and consumer endpoints.
365365
///
366-
/// If you need this function in a `const` context, check out [`Queue::split_const`] and [`QueueView::split_const`].
366+
/// If you need this function in a `const` context,
367+
/// check out [`Queue::split_const`] and [`QueueView::split_const`].
367368
///
368369
/// # Examples
369370
///
@@ -385,7 +386,8 @@ impl<T, S: Storage> QueueInner<T, S> {
385386
/// use critical_section::Mutex;
386387
/// use heapless::spsc::{Producer, Queue};
387388
///
388-
/// static PRODUCER: Mutex<RefCell<Option<Producer<'static, ()>>>> = Mutex::new(RefCell::new(None));
389+
/// static PRODUCER: Mutex<RefCell<Option<Producer<'static, ()>>>>
390+
/// = Mutex::new(RefCell::new(None));
389391
///
390392
/// fn interrupt() {
391393
/// let mut producer = {

0 commit comments

Comments
 (0)