parent
75eee8b194
commit
3abe3671bd
9 changed files with 74 additions and 38 deletions
|
@ -215,7 +215,7 @@ fn ternary_to_if(e: @expr) -> @expr {
|
|||
|
||||
fn ret_by_ref(style: ret_style) -> bool {
|
||||
alt style {
|
||||
return_ref(_) { true }
|
||||
return_ref(_, _) { true }
|
||||
_ { false }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue