From 78ec2747f109a4c1e8e4b583adaa94dbf3bb22af Mon Sep 17 00:00:00 2001 From: Dasun Pubudumal Date: Thu, 5 Sep 2024 13:34:03 +0100 Subject: [PATCH] [skip ci] Notes for functions --- src/yaml_validator.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yaml_validator.rs b/src/yaml_validator.rs index 1da54a5..ffc28e3 100644 --- a/src/yaml_validator.rs +++ b/src/yaml_validator.rs @@ -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) }