diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2015-11-22 14:48:30 +0100 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2015-11-22 14:48:30 +0100 |
| commit | 559f00ba9951b29c73339d94bcaeb5efa94b332a (patch) | |
| tree | 0d8e3697badf297e9e0681685733a66efedc43b1 /tests/source | |
| parent | 1b0ae00488616a93ffd015d97b65624cf47da818 (diff) | |
Fix up indentation of function style paths
Fixes https://github.com/rust-lang-nursery/rustfmt/issues/105.
Diffstat (limited to 'tests/source')
| -rw-r--r-- | tests/source/fn-simple.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/source/fn-simple.rs b/tests/source/fn-simple.rs index b9f6a1e64b1..4c216ec26b8 100644 --- a/tests/source/fn-simple.rs +++ b/tests/source/fn-simple.rs @@ -1,6 +1,9 @@ fn simple(/*pre-comment on a function!?*/ i: i32/*yes, it's possible! */ - ,response: NoWay /* hose */) {"cool"} + ,response: NoWay /* hose */) { +fn op(x: Typ, key : &[u8], upd : Box<Fn(Option<&memcache::Item>) -> (memcache::Status, Result<memcache::Item, Option<String>>)>) -> MapResult {} + + "cool"} fn weird_comment(/* /*/ double level */ comment */ x: Hello /*/*/* tripple, even */*/*/, |
