Clean up references in doc comments (#3983)
This PR cleans up a number of references in doc comments so that `rustdoc` will link and display them correctly. Release Notes: - N/A
This commit is contained in:
parent
00c3afd330
commit
74dadd68d2
9 changed files with 50 additions and 48 deletions
|
@ -90,7 +90,7 @@ impl Anchor {
|
|||
content.summary_for_anchor(self)
|
||||
}
|
||||
|
||||
/// Returns true when the [Anchor] is located inside a visible fragment.
|
||||
/// Returns true when the [`Anchor`] is located inside a visible fragment.
|
||||
pub fn is_valid(&self, buffer: &BufferSnapshot) -> bool {
|
||||
if *self == Anchor::MIN || *self == Anchor::MAX {
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue