aboutsummaryrefslogtreecommitdiff
path: root/crates/tt/src/buffer.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-14 08:16:48 +0100
committerGitHub <[email protected]>2021-06-14 08:16:48 +0100
commit5a8ddb4b2d62f6a56f867ff2daafef6a2b15f00f (patch)
treef26282b998546c0f0ee04aab751157233791fb3e /crates/tt/src/buffer.rs
parentf0618a8f06a464840079f30b3e25bcdcca3922a3 (diff)
parent20b325c7d50092cada3408aee958b3d523541f2c (diff)
Merge #9260
9260: tree-wide: make rustdoc links spiky so they are clickable r=matklad a=lf- Rustdoc was complaining about these while I was running with --document-private-items and I figure they should be fixed. Co-authored-by: Jade <[email protected]>
Diffstat (limited to 'crates/tt/src/buffer.rs')
-rw-r--r--crates/tt/src/buffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tt/src/buffer.rs b/crates/tt/src/buffer.rs
index e0021039a..dc577700f 100644
--- a/crates/tt/src/buffer.rs
+++ b/crates/tt/src/buffer.rs
@@ -133,7 +133,7 @@ impl<'a> TokenTreeRef<'a> {
133 } 133 }
134} 134}
135 135
136/// A safe version of `Cursor` from `syn` crate https://github.com/dtolnay/syn/blob/6533607f91686545cb034d2838beea338d9d0742/src/buffer.rs#L125 136/// A safe version of `Cursor` from `syn` crate <https://github.com/dtolnay/syn/blob/6533607f91686545cb034d2838beea338d9d0742/src/buffer.rs#L125>
137#[derive(Copy, Clone, Debug)] 137#[derive(Copy, Clone, Debug)]
138pub struct Cursor<'a> { 138pub struct Cursor<'a> {
139 buffer: &'a TokenBuffer<'a>, 139 buffer: &'a TokenBuffer<'a>,