fix comments
This commit is contained in:
		@@ -475,7 +475,7 @@ impl<'a, C: Channel, W: Word> ReadableRingBuffer<'a, C, W> {
 | 
				
			|||||||
        self.ringbuf.read(DmaCtrlImpl(self.channel.reborrow()), buf)
 | 
					        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.
 | 
					    /// 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.
 | 
					    /// 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
 | 
					        .await
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// The capacity of the ReadableRingBuffer
 | 
					    /// The capacity of the ringbuffer.
 | 
				
			||||||
    pub fn cap(&self) -> usize {
 | 
					    pub fn cap(&self) -> usize {
 | 
				
			||||||
        self.ringbuf.cap()
 | 
					        self.ringbuf.cap()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user