diff options
Diffstat (limited to 'components/script/dom/bluetoothuuid.rs')
-rw-r--r-- | components/script/dom/bluetoothuuid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bluetoothuuid.rs b/components/script/dom/bluetoothuuid.rs index 9d5f1e4bcbb..07156684fdc 100644 --- a/components/script/dom/bluetoothuuid.rs +++ b/components/script/dom/bluetoothuuid.rs @@ -649,7 +649,7 @@ fn resolve_uuid_name( StringOrUnsignedLong::String(dstring) => { // Step 2. let regex = Regex::new(VALID_UUID_REGEX).unwrap(); - if regex.is_match(&*dstring) { + if regex.is_match(&dstring) { Ok(dstring) } else { // Step 3. |