Skip to content

Commit 432a2d2

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix clippy
1 parent a055a39 commit 432a2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/src/registry_helper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl RegistryHelper {
125125
None => &RegistryValueData::None,
126126
};
127127

128-
let Ok(value_name) = U16CString::from_str(&value_name) else {
128+
let Ok(value_name) = U16CString::from_str(value_name) else {
129129
return self.handle_error_or_what_if(RegistryError::Utf16Conversion("valueName".to_string()));
130130
};
131131

0 commit comments

Comments
 (0)