-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add field accessing and indexing of arguments to format!
#8614
Comments
Triage: working on this. |
(This ended up being more subtle than I thought, and will likely take a bit of rearranging of the |
ifmt!
format!
Triage: nothing has changed here. |
Triage: no change |
Seems like this is something that should be over on rfcs? |
Yeah, this would be a pretty big change, probably rfc-worthy. |
assertions_on_constants: ignore indirect `cfg!` Fixes rust-lang#7597 changelog: [`assertions_on_constants`] ignore constants indirectly based on `cfg!`
This would be nice if for no other reason than to reach feature parity with Python's
str.format()
, in which one can write things like:>>> "{foo[0]} and {foo[1]} went up the hill".format(foo=['jack', 'jill']) 'jack and jill went up the hill'
The text was updated successfully, but these errors were encountered: