Skip to content

Commit 0b13289

Browse files
thanhnguyen-awsCarolyn Zech
andauthored
Update doc/src/challenges/0021-str-pattern-pt2.md
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
1 parent f30067b commit 0b13289

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
@@ -42,7 +42,7 @@ The following str library functions are generic over the `Pattern` trait (https:
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.).
4343
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).
4444

45-
### Assumption
45+
### Assumptions
4646

4747
**Important note:** for this challenge, you can assume:
4848
1. The safety and functional correctness of all functions in `slice` module.

0 commit comments

Comments
 (0)