Skip to content

Commit 5b14c7c

Browse files
committed
remove error suffix and clippy
1 parent 75d8eca commit 5b14c7c

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

crates/stackable-operator/src/v2/flask_config_writer.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,31 @@ use std::{
1313
use snafu::{ResultExt, Snafu};
1414

1515
/// Errors which can occur when using this module
16-
#[allow(clippy::enum_variant_names)]
1716
#[derive(Debug, Snafu)]
1817
pub enum FlaskAppConfigWriterError {
1918
#[snafu(display("failed to convert '{value}' into a identifier"))]
20-
ConvertIdentifierError { value: String },
19+
ConvertIdentifier { value: String },
2120

2221
#[snafu(display("failed to convert '{value}' into a boolean literal"))]
23-
ConvertBoolLiteralError {
22+
ConvertBoolLiteral {
2423
value: String,
2524
source: ParseBoolError,
2625
},
2726

2827
#[snafu(display("failed to convert '{value}' into an integer literal"))]
29-
ConvertIntLiteralError {
28+
ConvertIntLiteral {
3029
value: String,
3130
source: ParseIntError,
3231
},
3332

3433
#[snafu(display("failed to convert '{value}' into an ASCII string literal"))]
35-
ConvertStringLiteralError { value: String },
34+
ConvertStringLiteral { value: String },
3635

3736
#[snafu(display("failed to convert '{value}' into a Python expression"))]
38-
ConvertExpressionError { value: String },
37+
ConvertExpression { value: String },
3938

4039
#[snafu(display("Configuration cannot be written."))]
41-
WriteConfigError { source: io::Error },
40+
WriteConfig { source: io::Error },
4241
}
4342

4443
/// Mapping from configuration options to Python types.

0 commit comments

Comments
 (0)