Currently, the only suggestion rustdoc gives is to simply escape [ and ] with backslashes, or if there is a similarly-named item, to link to that instead.
there are a few other common errors that it could catch though:
inspired by discussion on #132748
Currently, the only suggestion rustdoc gives is to simply escape
[and]with backslashes, or if there is a similarly-named item, to link to that instead.there are a few other common errors that it could catch though:
arr[idx+3]) should be surrounded by backticks instead of escaping each bracket individuallyinspired by discussion on #132748