mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove redundant return keyword.
This commit is contained in:
parent
2384e5f4a2
commit
ef59009aa1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue