Read file and formats
⚓ Rust 📅 2025-12-02 👤 surdeus 👁️ 2Hi to everyone,
I achieve this point:
let license_path = Path::new(path).join("LICENSE.md");
// LICENSE.md have {author} string
let license_string = format!(license_path)
but the format! macro acing on compile time and doesn't work here...
Anyone know how I can do it?
Thanks so much
5 posts - 3 participants
🏷️ Rust_feed