You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* make `with_size` method for POSIX backend builder infallable
* add `as_mut_unchecked` method to all SHM buffer types
* add alignment construction methods `for_type` and `for_val`
* add alignment setting for default SHM Provider builder
* code format for new rust
_ => panic!("Plugin '{}' has an invalid '__required__' configuration property (must be a boolean)", id)
1165
+
_ => panic!("Plugin '{id}' has an invalid '__required__' configuration property (must be a boolean)")
1166
1166
};
1167
1167
let name = match value.get("__plugin__"){
1168
1168
Some(Value::String(p)) => p,
@@ -1172,8 +1172,8 @@ impl PluginsConfig {
1172
1172
ifletSome(paths) = value.get("__path__"){
1173
1173
let paths = match paths {
1174
1174
Value::String(s) => vec![s.clone()],
1175
-
Value::Array(a) => a.iter().map(|s| ifletValue::String(s) = s { s.clone()}else{panic!("Plugin '{}' has an invalid '__path__' configuration property (must be either string or array of strings)", id)}).collect(),
1176
-
_ => panic!("Plugin '{}' has an invalid '__path__' configuration property (must be either string or array of strings)", id)
1175
+
Value::Array(a) => a.iter().map(|s| ifletValue::String(s) = s { s.clone()}else{panic!("Plugin '{id}' has an invalid '__path__' configuration property (must be either string or array of strings)")}).collect(),
1176
+
_ => panic!("Plugin '{id}' has an invalid '__path__' configuration property (must be either string or array of strings)")
0 commit comments