Fix small naming inconsistencies

This commit is contained in:
a2x
2024-04-06 12:47:06 +10:00
parent a59331af1f
commit 6d72c517ed
6 changed files with 31 additions and 22 deletions

View File

@@ -1,5 +1,7 @@
use thiserror::Error;
pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, Error)]
pub enum Error {
#[error(transparent)]
@@ -27,5 +29,3 @@ impl<T> From<memflow::error::PartialError<T>> for Error {
Error::Memflow(err.into())
}
}
pub type Result<T> = std::result::Result<T, Error>;