Use ExactSizeIterator + TrustedLen instead of num_cases arg for switch
This commit is contained in:
parent
56842b2154
commit
35705dee7e
5 changed files with 7 additions and 6 deletions
|
@ -20,6 +20,7 @@
|
|||
#![feature(concat_idents)]
|
||||
#![feature(link_args)]
|
||||
#![feature(static_nobundle)]
|
||||
#![feature(trusted_len)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![allow(explicit_outlives_requirements)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue