chore: remove trailing semicolon (#5699)

This commit is contained in:
rakita
2023-12-05 16:50:34 +03:00
committed by GitHub
parent 8d8700a5c0
commit 11fd7a2844
8 changed files with 17 additions and 19 deletions

View File

@ -118,7 +118,7 @@ impl NetworkArgs {
/// If `no_persist_peers` is true then this returns the path to the persistent peers file path.
pub fn persistent_peers_file(&self, peers_file: PathBuf) -> Option<PathBuf> {
if self.no_persist_peers {
return None;
return None
}
Some(peers_file)

View File

@ -110,7 +110,7 @@ impl TypedValueParser for ExtradataValueParser {
format!(
"Payload builder extradata size exceeds {MAXIMUM_EXTRA_DATA_SIZE}bytes limit"
),
));
))
}
Ok(val.to_string())
}