Fix error template string indices

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
This commit is contained in:
Jamie Pineandmaxichrome committed 2022-03-06 02:06:24 -08:00
1 parent b4e4a4bf57
commit f993aa0884
1 file changed
+2 -2
+2 -2
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),