Skip to content

Commit cd04565

Browse files
committed
Use Self instead of UrlPattern
1 parent f624ba4 commit cd04565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl UrlPattern {
114114
} else {
115115
deno_urlpattern::UrlPatternOptions::default()
116116
};
117-
Ok(UrlPattern(
117+
Ok(Self(
118118
deno_urlpattern::UrlPattern::parse(init, options).map_err(Error)?,
119119
))
120120
}

0 commit comments

Comments
 (0)