Skip to content

Commit

Permalink
Fix missing colon that for some reason compiled on nightly but not st…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
oyvindln committed Aug 30, 2017
1 parent 58cfac0 commit 3b3f17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tdef/tdef_oxide.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<'a> CallbackOxide<'a> {
out_size.map(|size| *size = 0);
return Err(TDEFLStatus::BadParam);
}
}
},
Some(func) => {
if out_buf_size > 0 || !out_buf.is_null() {
in_size.map(|size| *size = 0);
Expand Down

2 comments on commit 3b3f17f

@oyvindln
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma even

@matklad
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, that was me rust-lang/rust#40989 :)

Previously in match it was possible to omit comma for blocks, now this works for all block-like expressions.

Please sign in to comment.