Fallout from deprecation
This commit handles the fallout from deprecating `_with` and `_equiv` methods.
This commit is contained in:
@@ -726,7 +726,7 @@ impl<'t> Captures<'t> {
|
||||
match self.named {
|
||||
None => "",
|
||||
Some(ref h) => {
|
||||
match h.find_equiv(name) {
|
||||
match h.get(name) {
|
||||
None => "",
|
||||
Some(i) => self.at(*i),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user