From 5dc2c1d351d75d150d671994b1c67b2c0f9d16a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Mar 2023 01:06:46 +0100 Subject: [PATCH] rtic-common: Fix safety section formatting --- rtic-common/src/wait_queue.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtic-common/src/wait_queue.rs b/rtic-common/src/wait_queue.rs index 7387a984b7..b1aa775714 100644 --- a/rtic-common/src/wait_queue.rs +++ b/rtic-common/src/wait_queue.rs @@ -69,7 +69,9 @@ impl LinkedList { /// Put an element at the back of the queue. /// - /// SAFETY: The link must live until it is removed from the queue. + /// # Safety + /// + /// The link must live until it is removed from the queue. pub unsafe fn push(&self, link: Pin<&Link>) { cs::with(|_| { // Make sure all previous writes are visible