tsk-80: Removing unused serde references (#88)

* tsk-80: Removing unused serde references

* tsk-80: Version bump

* tsk-80: Formatting code
This commit was merged in pull request #88.
This commit is contained in:
KD
2025-10-23 21:10:08 -04:00
committed by GitHub
parent 3cadac4efd
commit 05a9134aaa
9 changed files with 14 additions and 34 deletions
+6 -14
View File
@@ -2,19 +2,11 @@ pub fn o_to_string(val: &std::ffi::OsString) -> Result<std::string::String, std:
match val.clone().into_string() {
Ok(value) => Ok(value),
Err(err) => match err.into_string() {
Ok(res) => {
Err(std::io::Error::other(res.to_string()))
}
Err(err) => {
match err.to_str() {
Some(err) => {
Err(std::io::Error::other(err))
}
None => {
Err(std::io::Error::other("Undefined error"))
}
}
}
}
Ok(res) => Err(std::io::Error::other(res.to_string())),
Err(err) => match err.to_str() {
Some(err) => Err(std::io::Error::other(err)),
None => Err(std::io::Error::other("Undefined error")),
},
},
}
}