Skip to content

Commit 0650549

Browse files
authored
cuprated: fix DefaultOrCustom<T> docs (#550)
fix
1 parent dd14855 commit 0650549

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

binaries/cuprated/src/config/p2p.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ config_struct! {
164164
/// This port will be bind to if the incoming P2P
165165
/// server for this zone has been enabled.
166166
///
167-
/// Type | Number
168-
/// Valid values | 0..65534
167+
/// Type | Number or "Default"
168+
/// Valid values | 0..65534, "Default"
169169
/// Examples | 18080, 9999, 5432
170170
pub p2p_port: DefaultOrCustom<u16>,
171171

binaries/cuprated/src/config/rpc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ config_struct! {
3434

3535
/// The port the RPC server will listen on.
3636
///
37-
/// Type | Number
38-
/// Valid values | 0..65534
37+
/// Type | Number or "Default"
38+
/// Valid values | 0..65534, "Default"
3939
/// Examples | 18081, 18089, 5432
4040
pub port: DefaultOrCustom<u16>,
4141

0 commit comments

Comments
 (0)