Skip to content

Commit

Permalink
Remove redundant return keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
krk committed Apr 20, 2019
1 parent 2384e5f commit ef59009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script_plugins/webidl_must_inherit.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit ef59009

Please sign in to comment.