add further comment

This commit is contained in:
Folkert 2022-04-22 16:26:52 +02:00
parent 6306923e0f
commit 7196e7cdac
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -3,6 +3,10 @@ pub(crate) type Element = usize;
pub(crate) type BitVec = bitvec::vec::BitVec<Element>;
pub(crate) type BitSlice = bitvec::prelude::BitSlice<Element>;
/// A square boolean matrix used to store relations
///
/// We use this for sorting definitions so every definition is defined before it is used.
/// This functionality is also used to spot and report invalid recursion.
#[derive(Debug)]
pub(crate) struct ReferenceMatrix {
bitvec: BitVec,