It would be nice to get rustdoc to convert double-hyphen (--) (probably just when surrounded by spaces?) to a dash character (–) in doc-comments. People tend to use double-hyphen in code instead of the actual actual character, since it's easier to type on most keyboards. I reckon this could be done perfectly reliably.
It would be nice to get rustdoc to convert double-hyphen (
--) (probably just when surrounded by spaces?) to a dash character (–) in doc-comments. People tend to use double-hyphen in code instead of the actual actual character, since it's easier to type on most keyboards. I reckon this could be done perfectly reliably.