Skip to content

Commit 2ac3ec1

Browse files
committed
fixing clippy
1 parent a40b782 commit 2ac3ec1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dot_parser/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ impl DotGraph {
4343
}
4444
}
4545
}
46+
47+
#[allow(dead_code)]
4648
fn is_directed(&self) -> bool {
4749
matches!(self, DotGraph::Directed(_))
4850
}
51+
4952
fn into_inner(self) -> Result<StablePyGraph<Directed>, StablePyGraph<Undirected>> {
5053
match self {
5154
DotGraph::Directed(g) => Ok(g),

0 commit comments

Comments
 (0)