-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
FN: useless format: formatting PathBuf.display() #3021
Comments
We could generally lint the use of the result of |
Mmh, this might be tricky. IIRC it is faster to have a single print() than multiple ones (due to less syscalls) so when I need to print large strings, I usually construct them first with a/multiple |
sure, but you don't need to |
Ah, I'll have to read up on this! |
Hello, I stumbled upon a similar problem and figured out a way to print a PathBuf. Here's my (shaky) reasoning:
|
The text was updated successfully, but these errors were encountered: