Fix mistake in Access doc comment.

This commit is contained in:
Nicolas Silva
2022-02-15 10:56:48 +01:00
committed by Dzmitry Malyshau
parent 1c17d15507
commit 210014ed89

View File

@@ -266,7 +266,7 @@ impl<T, I: id::TypedId> Storage<T, I> {
}
/// Type system for enforcing the lock order on shared HUB structures.
/// If type A implements `Access<A>`, that means we are allowed to proceed
/// If type A implements `Access<B>`, that means we are allowed to proceed
/// with locking resource `B` after we lock `A`.
///
/// The implenentations basically describe the edges in a directed graph