No podcasts-gtk/src/config.rs or podcasts-gtk/src/static_resource.rs files present when cloning the project which give an error when running cargo fmt --all
Steps to reproduce
- Git clone the project
- Go into the project directory
- Run cargo fmt --all
Reproducible in:
- Flatpak unstable: yes
Current behavior
When running cargo fmt --all I have this error:
error[E0583]: file not found for module `config`
--> /home/airone/Workspace/podcasts/podcasts-gtk/src/main.rs:86:5
|
86 | mod config;
| ^^^^^^
|
= help: name the file either config.rs or config/mod.rs inside the directory "/home/airone/Workspace/podcasts/podcasts-gtk/src"
Expected behavior
Nothing should be returned on the standard output
Additional information
A temp workaround is:
echo -e "" >> podcasts-gtk/src/config.rs
echo -e "" >> podcasts-gtk/src/static_resource.rs