You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement println! using nested format_args! (#987)
Our previous usage of `concat!()` prevents `format_args!`
from capturing variables from the surrounding scope.
Implementing `println!` using a nested `format_args!`
removes this limitation allowing us to do the following:
```rust
let x = 3;
println!("{x}");
```
Signed-off-by: Klimenty Tsoutsman <[email protected]>
0 commit comments