intra-doc: Use an enum to represent URL fragments
This is a step in the direction of computing the links more lazily, which I think will simplify the implementation of intra-doc links. This will also make it easier to eventually use the actual `Res` for associated items, enum variants, and fields, rather than their HTML page's `Res`.
Showing
想要评论请 注册 或 登录