diff options
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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:?}") } |