chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5dd38
)
toml-de: Do not say it's a config file
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:07:11 +0000
(
01:07
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:19:00 +0000
(
01:19
+0100)
Currently used for specs, will be used for prefs too
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/toml-de.rs
patch
|
blob
|
history
diff --git
a/src/toml-de.rs
b/src/toml-de.rs
index 0522ce1d77c5379ad96264c14100562108292585..9efa5ad3baf7384eae8d5b94b277a679acce6b74 100644
(file)
--- a/
src/toml-de.rs
+++ b/
src/toml-de.rs
@@
-24,7
+24,7
@@
use serde::de::{
pub enum Error {
#[error("deserialize failed (improper TOML structure?): {0}")]
Custom(Box<str>),
- #[error("
config
file has invalid TOML syntax: {0}")]
+ #[error("file has invalid TOML syntax: {0}")]
TomlSyntax(toml::de::Error),
}