diff --git a/Cargo.toml b/Cargo.toml index a71f50a..c7f2ee8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smurf" -version = "0.3.0" +version = "0.3.1" edition = "2021" authors = ["Ivan Bushchik "] description = "SMall Useful Rust Functions" diff --git a/src/shell.rs b/src/shell.rs index 3a40a47..1a03660 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -14,7 +14,7 @@ pub struct ShellResult { } #[allow(dead_code)] -fn run(command: String) -> ShellResult { +pub fn run(command: String) -> ShellResult { let mut iter = command.split_whitespace(); let mut current = iter.next(); let mut words: Vec<&str> = vec![];