diff options
author | krk <keremkat@gmail.com> | 2019-04-16 21:18:57 +0200 |
---|---|---|
committer | krk <keremkat@gmail.com> | 2019-04-20 22:39:38 +0200 |
commit | ef59009aa1dfd496e51199b1396858c01aa8cd33 (patch) | |
tree | 2f059ec64b5aace2b07061025b1a7c2292df5d8c /components/script_plugins | |
parent | 2384e5f4a256536b23a2ff0c1846dc394743f5e7 (diff) | |
download | servo-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.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 { |