diff --git a/src/lib.rs b/src/lib.rs index 701ffa3..32c0e97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,13 +32,13 @@ //! ## Usage Example //! //! ```rust -//! use raw_slice::RawBufSlice; +//! use raw_buffer::RawBufSlice; //! //! static DATA: &[u8] = &[1, 2, 3, 4]; //! //! // Safety: Your safety note here. We are using static data, your DMA might have other //! // requirements to the buffer used, e.g. buffer in correct RAM, with certain alignment etc. -//! let raw_buf = unsafe { RawSlice::new(DATA) }; +//! let raw_buf = unsafe { RawBufSlice::new(DATA) }; //! //! // Later, in an ISR or different context //! unsafe {