Skip to content

Commit

Permalink
Nolookup -> NoTable
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Velagapudi <[email protected]>
  • Loading branch information
akhilles committed Nov 1, 2023
1 parent bbdecb0 commit 42cc9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct Slice16<W: Width>(core::marker::PhantomData<W>);
/// Implementation using a 256 entry lookup table. Use it with `Crc<Bytewise<W>>`
pub struct Bytewise<W: Width>(core::marker::PhantomData<W>);

/// Implementation using no lookup table. Use it with `Crc<Nolookup<W>>`
/// Implementation using no lookup table. Use it with `Crc<NoTable<W>>`
pub struct NoTable<W: Width>(core::marker::PhantomData<W>);

impl<W: Width> crate::private::Sealed for Slice16<W> {}
Expand Down Expand Up @@ -76,7 +76,7 @@ pub trait Implementation: private::Sealed {
type Table;
}

/// Crc with pluggable implementations ([Nolookup], [Bytewise], [Slice16]).
/// Crc with pluggable implementations ([NoTable], [Bytewise], [Slice16]).
/// To choose the default implementation, use the [Width] directly (e.g. `Crc<u32>`).
pub struct Crc<I: Implementation> {
pub algorithm: &'static Algorithm<I::Width>,
Expand Down

0 comments on commit 42cc9e7

Please sign in to comment.