Skip to content
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

format! can break await #68216

Closed
Licenser opened this issue Jan 14, 2020 · 2 comments
Closed

format! can break await #68216

Licenser opened this issue Jan 14, 2020 · 2 comments

Comments

@Licenser
Copy link

when using a format!() in a call line that includes an await it imposes odd (and hard to track) errors.

here is an example: https://github.com/Licenser/await-format-bug

pulling format outside of the await line works without issues, either by pre-computing it or by temporarily assigning the future to a own variable.

@KamilaBorowska
Copy link
Contributor

KamilaBorowska commented Jan 14, 2020

Fixed by #64856, patch available in beta.

@Licenser
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants