Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
aradwann committed Oct 31, 2024
1 parent 398f464 commit f7b664f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# clrs
![Rust workflow](https://github.com/aradwann/clrs/actions/workflows/rust.yml/badge.svg)
![Rust workflow](https://github.com/aradwann/algorithms-illuminated/actions/workflows/rust.yml/badge.svg)

my notes and implementation (in rust) of some algorithms in:

CLRS
[Algorithms Illuminated](https://www.algorithmsilluminated.org/)

### Sort
1. [merge sort](./src/sort/merge.rs)
Expand Down
12 changes: 6 additions & 6 deletions src/graph/undirected_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ impl UndirectedGraph {
}
}

impl Default for UndirectedGraph {
fn default() -> Self {
Self::new()
}
}

#[cfg(test)]
mod tests {
use super::*;
Expand Down Expand Up @@ -218,9 +224,3 @@ mod tests {
assert_eq!(graph.vertices.len(), 6);
}
}

impl Default for UndirectedGraph {
fn default() -> Self {
Self::new()
}
}

0 comments on commit f7b664f

Please sign in to comment.