forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle unicode chars in closures (rust-lang#3632)
The `NotUnicode` branch was unecessarily put on a new line, although it was within max width: ```diff fn baz() { let our_error_b = result_b_from_func.or_else(|e| match e { NotPresent => Err(e).chain_err(|| "env var wasn't provided"), - NotUnicode(_) => Err(e).chain_err(|| "env var was very very very borkæ–‡å—化ã"), + NotUnicode(_) => { + Err(e).chain_err(|| "env var was very very very borkæ–‡å—化ã") + } }); } ```
- Loading branch information
1 parent
944fc57
commit 84c2356
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters