feat: cargo fmt

This commit is contained in:
daniel.w 2024-06-16 17:57:35 +08:00
parent 30fbd3dc37
commit 51da2eed19
5 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
pub mod utils; pub mod utils;

View File

@ -1,4 +1,4 @@
// Just for testing to using library // Just for testing to using library
pub fn public_function() -> String { pub fn public_function() -> String {
"called public func `public_function()`".to_string() "called public func `public_function()`".to_string()
} }

View File

@ -1 +1 @@
pub mod first; pub mod first;

View File

@ -1 +1 @@
pub mod first_utils; pub mod first_utils;

View File

@ -4,7 +4,7 @@ mod tests {
#[test] #[test]
fn test_first() { fn test_first() {
let result: String = utils::first_utils::first::public_function(); let result: String = utils::first_utils::first::public_function();
assert!(result.contains("called public func `public_function()`")); assert!(result.contains("called public func `public_function()`"));
} }
} }