Derive Debug on MatrixCellChain

This commit is contained in:
Weird Constructor 2022-07-24 07:52:53 +02:00
parent 3bdb52f238
commit a559d689eb

View file

@ -55,7 +55,7 @@ struct MatrixChainLink {
/// ///
/// chain.place(&mut matrix, 2, 2).expect("no error in this case"); /// chain.place(&mut matrix, 2, 2).expect("no error in this case");
///``` ///```
#[derive(Clone)] #[derive(Debug, Clone)]
pub struct MatrixCellChain { pub struct MatrixCellChain {
chain: Vec<MatrixChainLink>, chain: Vec<MatrixChainLink>,
error: Option<ChainError>, error: Option<ChainError>,