From e8fd983e7cd4c3acedbb8f1dbc86a8859785fbb6 Mon Sep 17 00:00:00 2001 From: Brendon Daugherty Date: Wed, 5 Jun 2024 11:25:36 -0700 Subject: [PATCH] doc(config): Update default to reflect value in new I noticed that the default value in the comment didn't reflect the value actually used in the new method. Let's update the comment. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index f20551a..4efd6e3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -33,7 +33,7 @@ pub struct Config { pub single_port: bool, /// Refuse all write requests, making the server read-only. (default: false) pub read_only: bool, - /// Duplicate all packets sent from the server. (default: 1) + /// Duplicate all packets sent from the server. (default: 0) pub duplicate_packets: u8, /// Overwrite existing files. (default: false) pub overwrite: bool,