File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -980,10 +980,7 @@ impl<'t> Captures<'t> {
980
980
///
981
981
/// The text can't outlive the `Captures` object if this method is
982
982
/// used, because of how `Index` is defined (normally `a[i]` is part
983
- /// of `a` and can't outlive it); to do that, use [`at()`][]
984
- /// instead.
985
- ///
986
- /// [`at()`]: #method.at
983
+ /// of `a` and can't outlive it); to do that, use `at()` instead.
987
984
///
988
985
/// # Panics
989
986
/// If there is no group at the given index.
@@ -1004,10 +1001,7 @@ impl<'t> Index<usize> for Captures<'t> {
1004
1001
///
1005
1002
/// The text can't outlive the `Captures` object if this method is
1006
1003
/// used, because of how `Index` is defined (normally `a[i]` is part
1007
- /// of `a` and can't outlive it); to do that, use [`name()`][]
1008
- /// instead.
1009
- ///
1010
- /// [`name()`]: #method.name
1004
+ /// of `a` and can't outlive it); to do that, use `name` instead.
1011
1005
///
1012
1006
/// # Panics
1013
1007
/// If there is no group named by the given value.
You can’t perform that action at this time.
0 commit comments