Avoiding anonymous parameters

Anonymous parameters have been deprecated. This allowed you to specify traits without requiring binding names in traits:

trait MyTrait {
fn check_this(String);
}

This is a deprecated legacy feature that might get removed in future versions, so you should probably avoid using this syntax. In order to warn or deny this syntax in your code base, you will need to use this syntax: #![warn(anonymous_parameters)].

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.110.155