Skip to content

Commit 3fd2527

Browse files
authored
Update doc/src/challenges/0021-str-pattern-pt2.md
1 parent 07c0ff4 commit 3fd2527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/src/challenges/0021-str-pattern-pt2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The following str library functions are generic over the `Pattern` trait (https:
4040
- `strip_suffix`
4141
- `trim_end_matches`
4242
These functions accept a pattern as input, then call [into_searcher](https://doc.rust-lang.org/std/str/pattern/trait.Pattern.html#tymethod.into_searcher) to create a [Searcher](https://doc.rust-lang.org/std/str/pattern/trait.Pattern.html#associatedtype.Searcher) for the pattern. They use this `Searcher` to perform their desired operations (split, find, etc.).
43-
Those functions are implemented in (library/core/src/str/mod.rs), but the core of them is the searching algorithms which are implemented in (library/core/src/str/pattern.rs).
43+
Those functions are implemented in (library/core/src/str/mod.rs), but the core of them are the searching algorithms which are implemented in (library/core/src/str/pattern.rs).
4444

4545
### Assumptions
4646

0 commit comments

Comments
 (0)