diff --git a/examples/patch-examples/examples/log.rs b/examples/patch-examples/examples/log.rs index 48e9865..69c1c7a 100644 --- a/examples/patch-examples/examples/log.rs +++ b/examples/patch-examples/examples/log.rs @@ -65,7 +65,7 @@ fn main() { config.apply_with_log( ConfigPatch { host: None, - port: None, + port: Some(8081), }, |field| { println!("[custom_log] patch field '{}' was updated", field); diff --git a/examples/patch-examples/outputs/log-with-box.txt b/examples/patch-examples/outputs/log-with-box.txt index 1246073..8c39f58 100644 --- a/examples/patch-examples/outputs/log-with-box.txt +++ b/examples/patch-examples/outputs/log-with-box.txt @@ -4,4 +4,5 @@ host=localhost, port=8080 --- Patch: apply_with_log() with custom format --- -host=localhost, port=8080 +[custom_log] patch field 'port' was updated +host=localhost, port=8081 diff --git a/examples/patch-examples/outputs/log-without-nesting.txt b/examples/patch-examples/outputs/log-without-nesting.txt index 1246073..8c39f58 100644 --- a/examples/patch-examples/outputs/log-without-nesting.txt +++ b/examples/patch-examples/outputs/log-without-nesting.txt @@ -4,4 +4,5 @@ host=localhost, port=8080 --- Patch: apply_with_log() with custom format --- -host=localhost, port=8080 +[custom_log] patch field 'port' was updated +host=localhost, port=8081