From 6256a6c57c82b775241228636b6f344ca1722fa3 Mon Sep 17 00:00:00 2001 From: xoviat Date: Sat, 29 Jul 2023 19:27:16 -0500 Subject: [PATCH] fix comments --- embassy-stm32/src/dma/bdma.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/dma/bdma.rs b/embassy-stm32/src/dma/bdma.rs index 1dad364b..7b5008f0 100644 --- a/embassy-stm32/src/dma/bdma.rs +++ b/embassy-stm32/src/dma/bdma.rs @@ -475,7 +475,7 @@ impl<'a, C: Channel, W: Word> ReadableRingBuffer<'a, C, W> { self.ringbuf.read(DmaCtrlImpl(self.channel.reborrow()), buf) } - /// Read an exact number of elements from the ReadableRingBuffer. + /// Read an exact number of elements from the ringbuffer. /// /// Returns the remaining number of elements available for immediate reading. /// OverrunError is returned if the portion to be read was overwritten by the DMA controller. @@ -513,7 +513,7 @@ impl<'a, C: Channel, W: Word> ReadableRingBuffer<'a, C, W> { .await } - /// The capacity of the ReadableRingBuffer + /// The capacity of the ringbuffer. pub fn cap(&self) -> usize { self.ringbuf.cap() }