aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins
diff options
context:
space:
mode:
authorkrk <keremkat@gmail.com>2019-04-16 21:18:57 +0200
committerkrk <keremkat@gmail.com>2019-04-20 22:39:38 +0200
commitef59009aa1dfd496e51199b1396858c01aa8cd33 (patch)
tree2f059ec64b5aace2b07061025b1a7c2292df5d8c /components/script_plugins
parent2384e5f4a256536b23a2ff0c1846dc394743f5e7 (diff)
downloadservo-ef59009aa1dfd496e51199b1396858c01aa8cd33.tar.gz
servo-ef59009aa1dfd496e51199b1396858c01aa8cd33.zip
Remove redundant return keyword.
Diffstat (limited to 'components/script_plugins')
-rw-r--r--components/script_plugins/webidl_must_inherit.rs2
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 {