We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeee51e commit 90fc3eaCopy full SHA for 90fc3ea
rust/stackable-cockpit/src/platform/operator/mod.rs
@@ -96,9 +96,10 @@ impl FromStr for OperatorSpec {
96
ensure!(len <= 2, InvalidEqualSignCountSnafu);
97
98
// Check if the provided operator name is in the list of valid operators
99
- ensure!(VALID_OPERATORS.contains(&parts[0]), InvalidNameSnafu {
100
- name: parts[0]
101
- });
+ ensure!(
+ VALID_OPERATORS.contains(&parts[0]),
+ InvalidNameSnafu { name: parts[0] }
102
+ );
103
104
// If there is only one part, the input didn't include
105
// the optional version identifier
0 commit comments