File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -520,9 +520,6 @@ another matching engine with fixed memory requirements.
520520#![ deny( missing_docs) ]
521521#![ cfg_attr( test, deny( warnings) ) ]
522522#![ cfg_attr( feature = "pattern" , feature( pattern) ) ]
523- #![ cfg_attr(
524- feature = "unstable" ,
525- feature( cfg_target_feature, target_feature, stdsimd) ) ]
526523
527524extern crate aho_corasick;
528525extern crate memchr;
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ impl Teddy {
120120 unsafe { self . find_impl ( haystack) }
121121 }
122122
123+ #[ allow( unused_attributes) ]
123124 #[ target_feature( enable = "avx2" ) ]
124125 unsafe fn find_impl ( & self , haystack : & [ u8 ] ) -> Option < Match > {
125126 // If our haystack is smaller than the block size, then fall back to
Original file line number Diff line number Diff line change @@ -431,6 +431,7 @@ impl Teddy {
431431 unsafe { self . find_impl ( haystack) }
432432 }
433433
434+ #[ allow( unused_attributes) ]
434435 #[ target_feature( enable = "ssse3" ) ]
435436 unsafe fn find_impl ( & self , haystack : & [ u8 ] ) -> Option < Match > {
436437 // If our haystack is smaller than the block size, then fall back to
You can’t perform that action at this time.
0 commit comments