The `<cratename>/index.html` file generated by `cargo doc` is erroneusly detected as `text/csv`
NOTE: I've been redirected here from here.
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.
System
- OS: arch linux
- File: here
Edited by Zeioth