Remove redundant return keyword.

This commit is contained in:
krk 2019-04-16 21:18:57 +02:00
parent 2384e5f4a2
commit ef59009aa1

View file

@ -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 {