diff options
Diffstat (limited to 'components/script_plugins/webidl_must_inherit.rs')
-rw-r--r-- | components/script_plugins/webidl_must_inherit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/webidl_must_inherit.rs b/components/script_plugins/webidl_must_inherit.rs index 2fb45f4cdc5..61fabf0ddf8 100644 --- a/components/script_plugins/webidl_must_inherit.rs +++ b/components/script_plugins/webidl_must_inherit.rs @@ -78,7 +78,7 @@ fn get_webidl_path(struct_name: &str) -> io::Result<path::PathBuf> { dir.push("components/script/dom/webidls/"); dir.push(format!("{}.webidl", struct_name)); - return Ok(dir); + Ok(dir) } fn is_webidl_ty(cx: &LateContext, ty: &ty::TyS) -> bool { |