From eab77e7c9910595bd32b33c7afdd861c16c2ae0b Mon Sep 17 00:00:00 2001 From: Philippe-Cholet Date: Fri, 29 Sep 2023 10:26:35 +0200 Subject: [PATCH] Specializations can wait a bit --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 790c548b0..0a4adca2c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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):