diff --git a/.github/workflows/styles.yml b/.github/workflows/styles.yml index d1b6392..5bd2325 100644 --- a/.github/workflows/styles.yml +++ b/.github/workflows/styles.yml @@ -17,3 +17,8 @@ jobs: with: check-type: isort ruff-version-file: deps/lock/x86_64-unknown-linux-gnu/requirements_dev.txt + check-rustfmt: + uses: deargen/workflows/.github/workflows/check-cargo.yml@master + with: + check-type: fmt + working-directory: rust diff --git a/rust/src/lib.rs b/rust/src/lib.rs index ed033c7..673ffab 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -284,6 +284,7 @@ impl PartialEq for DistCountNode { pub struct Graph { pub node: HashSet, pub adj: HashMap>, + } // Implementation of the Graph data structure.