* Removing new lines * Updated reqwest, tokio, tokio-utils, and uuid * Including Cargo.lock in source control * Not sure how this got here * Updated icarus_models * Workflow change * Removing unused workflow * Github workflow fix * Warning fixes * Fixed what caused failed test * Code cleanup and formatting
7 lines
241 B
Rust
7 lines
241 B
Rust
pub fn o_to_string(val: &std::ffi::OsString) -> Result<std::string::String, std::io::Error> {
|
|
match val.clone().into_string() {
|
|
Ok(value) => Ok(value),
|
|
Err(_) => Err(std::io::Error::other(String::from("Error"))),
|
|
}
|
|
}
|