The `<cratename>/index.html` file generated by `cargo doc` is erroneusly detected as `text/csv`
Given this bug might potentially affect a bunch of projects, I think it is worth reporting it.
how to reproduce
- Create a rust project:
mkdir myrustproj && cd myrustproj && cargo new myrustproj
- Generate the docs:
cargo doc
- Check the filetype detected by xdg-mime with:
./target/doc/myrustproj/index.html
It will return text/csv
.
More info
In my case this was provoking the index.html
file to open with krita.