Images were broken, returning paths to the nix build directory.
Some checks failed
format Build format has succeeded
clippy Build clippy has failed
rust-test Build rust-test has succeeded

This commit is contained in:
Tom Alexander
2026-10-21 09:29:44 -04:00
parent 71e5bfe4be
commit 694052d33d
3 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
use std::path::NormalizeError;
use std::str::Utf8Error;
use std::string::FromUtf8Error;
@@ -16,6 +17,7 @@ pub(crate) enum CustomError {
DusterRender(#[allow(dead_code)] duster::renderer::RenderError),
PathStripPrefix(#[allow(dead_code)] std::path::StripPrefixError),
UrlParseError(#[allow(dead_code)] url::ParseError),
NormalizeError(#[allow(dead_code)] NormalizeError),
}
impl From<std::io::Error> for CustomError {
@@ -95,3 +97,9 @@ impl From<url::ParseError> for CustomError {
CustomError::UrlParseError(value)
}
}
impl From<NormalizeError> for CustomError {
fn from(value: NormalizeError) -> Self {
CustomError::NormalizeError(value)
}
}