mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 03:29:25 +00:00
parent
22aa7a9bd1
commit
0d88244aea
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl Args {
|
|||
/// Apply the [`Args`] to the given [`Config`].
|
||||
///
|
||||
/// This may exit the program if a config value was set that requires an early exit.
|
||||
pub fn apply_args(&self, mut config: Config) -> Config {
|
||||
pub const fn apply_args(&self, mut config: Config) -> Config {
|
||||
config.network = self.network;
|
||||
|
||||
if let Some(outbound_connections) = self.outbound_connections {
|
||||
|
|
Loading…
Reference in a new issue