Skip to content

Commit

Permalink
skip to_str()
Browse files Browse the repository at this point in the history
  • Loading branch information
azizkayumov committed Nov 11, 2023
1 parent 2d7aec9 commit 6162706
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: coverage
name: coverage

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

on: [push]
jobs:
test:
name: coverage
Expand Down
1 change: 1 addition & 0 deletions src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl<T: Path> Node<T> {
}

#[allow(dead_code)]
#[cfg_attr(tarpaulin, ignore)]
pub fn to_str(&self) -> String {
let parent = match self.parent {
Parent::Node(idx) => format!("Node({idx})"),
Expand Down

0 comments on commit 6162706

Please sign in to comment.