summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2021-11-23 14:38:50 +0000
committerConrad Ludgate <conradludgate@gmail.com>2021-11-23 14:39:29 +0000
commit2b93478e9731d27be30ae10c42f7c06a16d74059 (patch)
treee759f5d2f22834e1d6143850c41f0e89ffecdc20 /examples
parent1d776bba2cb62d851f7cbeda57dd45ec7cfaacd0 (diff)
reduce use of outdated language
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_format/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/custom_format/main.rs b/examples/custom_format/main.rs
index eb62e45..4da2e9d 100644
--- a/examples/custom_format/main.rs
+++ b/examples/custom_format/main.rs
@@ -21,7 +21,7 @@ impl Format for MyFormat {
uri: Option<&String>,
text: &str,
) -> Result<Map<String, config::Value>, Box<dyn std::error::Error + Send + Sync>> {
- // Let's assume our format is somewhat crippled, but this is fine
+ // Let's assume our format is somewhat malformed, but this is fine
// In real life anything can be used here - nom, serde or other.
//
// For some more real-life examples refer to format implementation within the library code
@@ -40,7 +40,7 @@ impl Format for MyFormat {
}
}
-// As crazy as it seems for config sourced from a string, legacy demands its sacrifice
+// As strange as it seems for config sourced from a string, legacy demands its sacrifice
// It is only required for File source, custom sources can use Format without caring for extensions
static MY_FORMAT_EXT: Vec<&'static str> = vec![];
impl FileStoredFormat for MyFormat {