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 2993d38 commit 09f3f62Copy full SHA for 09f3f62
registry_lib/src/lib.rs
@@ -57,7 +57,7 @@ impl RegistryHelper {
57
///
58
/// * `RegistryError` - The error that occurred.
59
pub fn new(key_path: &str, value_name: Option<String>, value_data: Option<RegistryValueData>) -> Result<Self, RegistryError> {
60
- let (hive, subkey) = get_hive_from_path(&key_path)?;
+ let (hive, subkey) = get_hive_from_path(key_path)?;
61
let config = Registry {
62
key_path: key_path.to_string(),
63
value_name,
0 commit comments