From 4d95218430e7251ba51d3a071f53d0a69d93d971 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sat, 3 Sep 2022 20:44:59 +0800 Subject: [PATCH] Update src/error.rs Co-authored-by: Sculas --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index f4851d92..02920737 100644 --- a/src/error.rs +++ b/src/error.rs @@ -26,7 +26,7 @@ pub enum DbErr { InsertCouldNotUnpackInsertId, /// When updating, a model should know it's primary key to check /// if the record has been correctly updated, otherwise this error will occur - #[error("Fail to get primary key from model")] + #[error("Failed to get primary key from model")] UpdateCouldNotGetPrimaryKey, /// There was a problem with the database connection #[error("Connection Error: {0}")]