From 2b93478e9731d27be30ae10c42f7c06a16d74059 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 23 Nov 2021 14:38:50 +0000 Subject: reduce use of outdated language --- examples/custom_format/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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, Box> { - // 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 { -- cgit v1.2.3