Flatten nested format_args!() into one.
This commit is contained in:
parent
18e305dfca
commit
a769b30a93
2 changed files with 102 additions and 4 deletions
|
@ -131,8 +131,8 @@ impl FormatArguments {
|
|||
&self.arguments[..]
|
||||
}
|
||||
|
||||
pub fn all_args_mut(&mut self) -> &mut [FormatArgument] {
|
||||
&mut self.arguments[..]
|
||||
pub fn all_args_mut(&mut self) -> &mut Vec<FormatArgument> {
|
||||
&mut self.arguments
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue