add additional note
This commit is contained in:
parent
e133d94eeb
commit
ed790749cc
@ -260,6 +260,9 @@ impl<const DIRECTED: bool, N: GraphNodeId, S: BuildHasher> Graph<DIRECTED, N, S>
|
|||||||
/// Converts from one [`GraphNodeId`] type to another. If the conversion fails,
|
/// Converts from one [`GraphNodeId`] type to another. If the conversion fails,
|
||||||
/// it returns the error from the target type's [`TryFrom`] implementation.
|
/// it returns the error from the target type's [`TryFrom`] implementation.
|
||||||
///
|
///
|
||||||
|
/// Nodes must uniquely convert from `N` to `T` (i.e. no two `N` can convert
|
||||||
|
/// to the same `T`).
|
||||||
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// If the conversion fails, it returns an error of type `T::Error`.
|
/// If the conversion fails, it returns an error of type `T::Error`.
|
||||||
|
Loading…
Reference in New Issue
Block a user