Skip to content

Commit

Permalink
Specializations can wait a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe-Cholet committed Sep 29, 2023
1 parent afa5305 commit eab77e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ This mostly applies to your new module, each import from it, and to your new `It
It might be more performant to specialize some methods.
However, each specialization should be thoroughly tested.

Correctly specializing methods can be difficult, and _we do not require that you do it on your initial PR_.

Most of the time, we want specializations of:

- [`size_hint`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.size_hint):
Expand Down

0 comments on commit eab77e7

Please sign in to comment.