Browse Source

Fix formatting

pull/4168/head
Philipp Kolberg 2 years ago
parent
commit
efea5bcff6
No known key found for this signature in database GPG Key ID: 4C58CB0448FF9061
  1. 3
      src/util.rs

3
src/util.rs

@ -751,7 +751,8 @@ pub fn convert_json_key_lcase_first(src_json: Value) -> Value {
/// Parses the experimental client feature flags string into a HashMap.
pub fn parse_experimental_client_feature_flags(experimental_client_feature_flags: &str) -> HashMap<String, bool> {
let feature_states = experimental_client_feature_flags.to_lowercase().split(',').map(|f| (f.trim().to_owned(), true)).collect();
let feature_states =
experimental_client_feature_flags.to_lowercase().split(',').map(|f| (f.trim().to_owned(), true)).collect();
feature_states
}

Loading…
Cancel
Save