Skip to content

Commit 3c05acb

Browse files
authored
Fix list in testing.md
1 parent c01a678 commit 3c05acb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tutorial/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ but we can also make our code available as a library like this:
305305
1. Put the `find_matches` function into a new `src/lib.rs`.
306306
2. Add a `pub` in front of the `fn` to make it something that users of
307307
our library can access (i.e. `pub fn find_matches`).
308-
4. Remove `find_matches` from `src/main.rs`.
309-
5. In `fn main`, prepend the call to `find_matches` with `grrs::`
308+
3. Remove `find_matches` from `src/main.rs`.
309+
4. In `fn main`, prepend the call to `find_matches` with `grrs::`
310310
so that it's now `grrs::find_matches(…)`.
311311
This means it uses the function from the library we just wrote!
312312

0 commit comments

Comments
 (0)