Skip to content

Commit 00f3d84

Browse files
committed
Add docs to propagator again
1 parent 35664c0 commit 00f3d84

File tree

1 file changed

+5
-0
lines changed
  • rustoku-lib/src/core/techniques

1 file changed

+5
-0
lines changed

rustoku-lib/src/core/techniques/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ use x_wing::XWing;
2929
/// Some examples of techniques employed including Naked Singles and X-Wings.
3030
/// If we want to add more techniques, extend the existing logic and bitflags
3131
/// in this module.
32+
///
33+
/// This class acts as the Mediator object between `Rustoku` and the `TechniqueRule`
34+
/// implementations out there. To learn about the Mediator design pattern, please
35+
/// consult [this link](https://refactoring.guru/design-patterns/mediator)
36+
/// for more details.
3237
pub struct TechniquePropagator<'a> {
3338
board: &'a mut Board,
3439
masks: &'a mut Masks,

0 commit comments

Comments
 (0)