summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2c1d3dd..eeaa750 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -146,7 +146,9 @@ impl fmt::Display for Error {
f,
"{location}: value {value:?} should be off/false/no or on/true/yes",
),
- Self::UnmatchedLeftBrace(location) => write!(f, "{location}: [ has no matching ]"),
+ Self::UnmatchedLeftBrace(location) => {
+ write!(f, "{location}: Line starting with [ must end with ]")
+ }
Self::InvalidKey(location, key) => {
write!(f, "{location}: invalid key {key:?}")
}