Skip to content

Commit

Permalink
🔐 Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeon256 committed Jan 10, 2023
1 parent 30b9830 commit 730a315
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,17 @@ where
pub trait AlgorithmContainer {
/// Any kind of contiguous container
///
/// # Example
/// - `[T; N]`, `[T; 0]`, `Vec<T, N>`
/// # Examples
/// - `[T; N]`
/// - `[T; 0]`
/// - `heapless::Vec<T, N>`
type HeuristicContainer<'a, const N: usize>: AsRef<[usize]> + AsMut<[usize]>;

/// Any kind of contiguous container (should not be ZST). `R` must also live as long as `'a`
///
/// # Example
/// - `[T; N]`, [`heapless::Vec<T, N>`]
/// # Examples
/// - `[T; N]`
/// - `heaples::Vec<T, N>`
type RepresentativeContainer<'a, R: VertexType + 'a, const N: usize>: AsRef<[R]> + AsMut<[R]>;
}

Expand Down

0 comments on commit 730a315

Please sign in to comment.