Skip to content

Commit decfb05

Browse files
committed
clippy
1 parent 1f271dd commit decfb05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stackable-operator/src/commons/networking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl FromStr for Hostname {
1616
type Err = validation::Errors;
1717

1818
fn from_str(value: &str) -> Result<Self, Self::Err> {
19-
validation::is_rfc_1123_subdomain(&value)?;
19+
validation::is_rfc_1123_subdomain(value)?;
2020
Ok(Hostname(value.to_owned()))
2121
}
2222
}

0 commit comments

Comments
 (0)