fix ci
Some checks failed
Deny / audit (push) Has been cancelled

This commit is contained in:
Boog900 2024-12-02 21:58:19 +00:00
parent 22aa7a9bd1
commit 0d88244aea
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2

View file

@ -43,7 +43,7 @@ impl Args {
/// Apply the [`Args`] to the given [`Config`]. /// Apply the [`Args`] to the given [`Config`].
/// ///
/// This may exit the program if a config value was set that requires an early exit. /// 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; config.network = self.network;
if let Some(outbound_connections) = self.outbound_connections { if let Some(outbound_connections) = self.outbound_connections {