From 17fcf60e00576ae94ec29b5c5b65ae635a553e7a Mon Sep 17 00:00:00 2001 From: MartinFillon Date: Mon, 4 Nov 2024 22:27:13 +0100 Subject: [PATCH] mise en applique des suggestions faites sur ma fusio-demande --- rouille_proc_macro/src/lib.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rouille_proc_macro/src/lib.rs b/rouille_proc_macro/src/lib.rs index e10f517..a4fa536 100644 --- a/rouille_proc_macro/src/lib.rs +++ b/rouille_proc_macro/src/lib.rs @@ -98,7 +98,6 @@ rouille_compilogenese::rouille! { "octets" => "bytes", "chaîne" => "str", "lire_exactement" => "read_exact", - "lire_jusqu'à" => "read_until", "sépare" => "split", "en_tant_que" => "as", "Entier" => "Integer", @@ -106,7 +105,6 @@ rouille_compilogenese::rouille! { "ensuite_quelque" => "then_some", "déballer_ou" => "unwrap_or", "déballer_ou_avec" => "unwrap_or_else", - "en" => "into", "depuis_chaîne" => "from_str", "Depuis" => "From", "bien" => "ok", @@ -128,9 +126,9 @@ rouille_compilogenese::rouille! { "compter" => "count", "trouve" => "find", "trouve_en_appliquant" => "find_map", - "tous" => "all", - "certains" => "any", - "récuperer" => "collect", + "tous" | "toutes" => "all", + "certains" | "certaines" => "any", + "récupérer" => "collect", "copié" => "copied", "cloné" => "cloned", "Copiable" => "Copy",