1
Fork 0

Flatten nested format_args!() into one.

This commit is contained in:
Mara Bos 2023-01-13 16:35:47 +01:00
parent 18e305dfca
commit a769b30a93
2 changed files with 102 additions and 4 deletions

View file

@ -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
}
}