@@ -61,6 +61,7 @@ pub const IO_READ: [&str; 3] = ["std", "io", "Read"];
61
61
pub const IO_WRITE : [ & str ; 3 ] = [ "std" , "io" , "Write" ] ;
62
62
pub const IPADDR_V4 : [ & str ; 5 ] = [ "std" , "net" , "ip" , "IpAddr" , "V4" ] ;
63
63
pub const IPADDR_V6 : [ & str ; 5 ] = [ "std" , "net" , "ip" , "IpAddr" , "V6" ] ;
64
+ pub const ITER_COUNT : [ & str ; 6 ] = [ "core" , "iter" , "traits" , "iterator" , "Iterator" , "count" ] ;
64
65
pub const ITER_REPEAT : [ & str ; 5 ] = [ "core" , "iter" , "sources" , "repeat" , "repeat" ] ;
65
66
#[ allow( clippy:: invalid_paths) ] // internal lints do not know about all external crates
66
67
pub const ITERTOOLS_NEXT_TUPLE : [ & str ; 3 ] = [ "itertools" , "Itertools" , "next_tuple" ] ;
@@ -149,6 +150,7 @@ pub const STD_FS_CREATE_DIR: [&str; 3] = ["std", "fs", "create_dir"];
149
150
pub const STRING_AS_MUT_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_mut_str" ] ;
150
151
pub const STRING_AS_STR : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "as_str" ] ;
151
152
pub const STRING_NEW : [ & str ; 4 ] = [ "alloc" , "string" , "String" , "new" ] ;
153
+ pub const STR_BYTES : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "bytes" ] ;
152
154
pub const STR_ENDS_WITH : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "ends_with" ] ;
153
155
pub const STR_FROM_UTF8 : [ & str ; 4 ] = [ "core" , "str" , "converts" , "from_utf8" ] ;
154
156
pub const STR_LEN : [ & str ; 4 ] = [ "core" , "str" , "<impl str>" , "len" ] ;
0 commit comments