Skip to content

Commit

Permalink
[skip ci] Notes for functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dasunpubudumal committed Sep 5, 2024
1 parent d15a6c5 commit 78ec274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/yaml_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ pub mod yaml_validator_mod {
}
}

#[allow(dead_code)]
// Might worth checking the use of this function, as it can directly be invoked without
// declaring a function with println! macro.
fn to_stdout(&self) {
println!("{}", &self)
}
Expand Down

0 comments on commit 78ec274

Please sign in to comment.