Fix error template string indices

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
This commit is contained in:
Jamie Pine
2022-03-06 02:06:24 -08:00
parent b4e4a4bf57
commit f993aa0884

View File

@@ -146,9 +146,9 @@ pub enum LocationError {
CreateFailure { uuid: String },
#[error("Failed to read location dotfile")]
DotfileReadFailure(io::Error),
#[error("Failed to serialize dotfile for location (at path: {0:?})")]
#[error("Failed to serialize dotfile for location (at path: {1:?})")]
DotfileSerializeFailure(serde_json::Error, String),
#[error("Location not found (uuid: {0:?})")]
#[error("Location not found (uuid: {1:?})")]
DotfileWriteFailure(io::Error, String),
#[error("Location not found (uuid: {0:?})")]
NotFound(String),