Skip to content

Conversation

Rawk
Copy link
Contributor

@Rawk Rawk commented Sep 16, 2024

Avoid unwrap() by using infallible std::path::Path::display().

@Rawk Rawk force-pushed the no-panic-disp-filename branch from 14f3d2c to 8bd6cfe Compare September 16, 2024 13:07
@Rawk
Copy link
Contributor Author

Rawk commented Sep 16, 2024

Changed some more places where std::path::Path::display() can be used.

Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ytmimi ytmimi merged commit 5230e8f into rust-lang:master Sep 16, 2024
26 checks passed
@Rawk Rawk deleted the no-panic-disp-filename branch September 16, 2024 13:34
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

Successfully merging this pull request may close these issues.

3 participants