Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jan :rust: :ferris:
@janriemer@floss.social  ·  activity timestamp 2 days ago

#Rust, je t'aime! ❤️

@ekuber 🫶

#Error #RustLang #Empathy

Compiler error in Rust when trying to display a `PathBuf` in a format string:
`PathBuf` doesn't implement `std::fmt::Display`
the trait `std::fmt::Display` is not implemented for `PathBuf`
in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
call `.display()` or `.to_string_lossy()` to safely print paths, as they may contain non-Unicode data
Compiler error in Rust when trying to display a `PathBuf` in a format string: `PathBuf` doesn't implement `std::fmt::Display` the trait `std::fmt::Display` is not implemented for `PathBuf` in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead call `.display()` or `.to_string_lossy()` to safely print paths, as they may contain non-Unicode data
Compiler error in Rust when trying to display a `PathBuf` in a format string: `PathBuf` doesn't implement `std::fmt::Display` the trait `std::fmt::Display` is not implemented for `PathBuf` in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead call `.display()` or `.to_string_lossy()` to safely print paths, as they may contain non-Unicode data
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login