diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2015-08-31 19:15:40 +0200 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2015-08-31 19:15:40 +0200 |
| commit | a896d91ff681f6113db00dacb660c2088c0bbbbe (patch) | |
| tree | 2f2b18888136f861780d303707a9eb633726c59a /tests/source/expr.rs | |
| parent | 2bf4d74832395506445aa356ed7ed5e2678658f4 (diff) | |
Fix offset for unary operations
Fixes https://github.com/nrc/rustfmt/issues/227.
Diffstat (limited to 'tests/source/expr.rs')
| -rw-r--r-- | tests/source/expr.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/source/expr.rs b/tests/source/expr.rs index 85ee7727451..d5e98f959d1 100644 --- a/tests/source/expr.rs +++ b/tests/source/expr.rs @@ -105,3 +105,9 @@ fn qux() { // A block with a comment. } } + +fn issue227() { + { + let handler = box DocumentProgressHandler::new(addr, DocumentProgressTask::DOMContentLoaded); + } +} |
