From c1c0d19f01c41120deaefda22b502b55d2349ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 18 Aug 2025 14:44:32 +0200 Subject: [PATCH] Keep lines below 100 chars --- src/spsc.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/spsc.rs b/src/spsc.rs index 5f1af05b..271f5a4d 100644 --- a/src/spsc.rs +++ b/src/spsc.rs @@ -363,7 +363,8 @@ impl QueueInner { /// Splits a queue into producer and consumer endpoints. /// - /// If you need this function in a `const` context, check out [`Queue::split_const`] and [`QueueView::split_const`]. + /// If you need this function in a `const` context, + /// check out [`Queue::split_const`] and [`QueueView::split_const`]. /// /// # Examples /// @@ -385,7 +386,8 @@ impl QueueInner { /// use critical_section::Mutex; /// use heapless::spsc::{Producer, Queue}; /// - /// static PRODUCER: Mutex>>> = Mutex::new(RefCell::new(None)); + /// static PRODUCER: Mutex>>> = + /// { Mutex::new(RefCell::new(None)) }; /// /// fn interrupt() { /// let mut producer = {