From bc51b4d4fc26f436c5eefe421b4edcc062d1e13d Mon Sep 17 00:00:00 2001 From: reisub0 Date: Sat, 24 Dec 2022 22:49:57 +0100 Subject: [PATCH] error[E0599]: no method named `set_print_special_tokens` found for struct `FullParams` in the current scope --> examples/basic_use.rs:23:12 | 23 | params.set_print_special_tokens(false); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_print_special` For more information about this error, try `rustc --explain E0599`. --- examples/basic_use.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic_use.rs b/examples/basic_use.rs index b021c93..2330f1e 100644 --- a/examples/basic_use.rs +++ b/examples/basic_use.rs @@ -20,7 +20,7 @@ pub fn usage() { // and set the language to translate to to english params.set_language("en"); // we also explicitly disable anything that prints to stdout - params.set_print_special_tokens(false); + params.set_print_special(false); params.set_print_progress(false); params.set_print_realtime(false); params.set_print_timestamps(false);