mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 20:16:49 +00:00
Fix indentation for function arguments
This commit is contained in:
parent
d326a29b4b
commit
8e2a910021
@ -481,7 +481,9 @@ impl<'a> FmtVisitor<'a> {
|
||||
let context = self.get_context();
|
||||
let mut arg_item_strs = try_opt!(args.iter()
|
||||
.map(|arg| {
|
||||
arg.rewrite(&context, multi_line_budget, indent)
|
||||
arg.rewrite(&context,
|
||||
multi_line_budget,
|
||||
arg_indent)
|
||||
})
|
||||
.collect::<Option<Vec<_>>>());
|
||||
|
||||
|
@ -24,3 +24,8 @@ pub fn http_fetch_async(listener:Box< AsyncCORSResponseListener+Send >, script_
|
||||
}
|
||||
|
||||
fn some_func<T:Box<Trait+Bound>>(val:T){}
|
||||
|
||||
fn zzzzzzzzzzzzzzzzzzzz<Type, NodeType>
|
||||
(selff: Type, mut handle: node::Handle<IdRef<'id, Node<K, V>>, Type, NodeType>)
|
||||
-> SearchStack<'a, K, V, Type, NodeType>{
|
||||
}
|
||||
|
@ -37,3 +37,10 @@ pub fn http_fetch_async(listener: Box<AsyncCORSResponseListener + Send>,
|
||||
|
||||
fn some_func<T: Box<Trait + Bound>>(val: T) {
|
||||
}
|
||||
|
||||
fn zzzzzzzzzzzzzzzzzzzz<Type, NodeType>(selff: Type,
|
||||
mut handle: node::Handle<IdRef<'id, Node<K, V>>,
|
||||
Type,
|
||||
NodeType>)
|
||||
-> SearchStack<'a, K, V, Type, NodeType> {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user