Skip to content

Commit cdb89e7

Browse files
committed
Fix a broken link to Pair::as_span
1 parent 2f2ba3d commit cdb89e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pest/src/span.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::position;
1818
/// A span over a `&str`. It is created from either [two `Position`s] or from a [`Pair`].
1919
///
2020
/// [two `Position`s]: struct.Position.html#method.span
21-
/// [`Pair`]: ../iterators/struct.Pair.html#method.span
21+
/// [`Pair`]: ./iterators/struct.Pair.html#method.as_span
2222
#[derive(Clone, Copy)]
2323
pub struct Span<'i> {
2424
input: &'i str,

0 commit comments

Comments
 (0)