We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28f3eb commit 64f8997Copy full SHA for 64f8997
src/sys/flags.rs
@@ -1,3 +1,8 @@
1
+// This allows us to pass lints with 1.72.0
2
+// until we bump bitflags to 2.x.
3
+// (See GH issue #496)
4
+#![allow(clippy::bad_bit_mask)]
5
+
6
use crate::sys::bindings as ll_bindings;
7
use crate::RawFlags;
8
use bitflags::bitflags;
tests/test_trees.rs
@@ -281,7 +281,7 @@ fn test_iterate_samples_two_trees() {
281
let treeseq = treeseq_from_small_table_collection_two_trees();
282
assert_eq!(treeseq.num_trees(), 2);
283
let mut tree_iter = treeseq.tree_iterator(TreeFlags::SAMPLE_LISTS).unwrap();
284
- let expected_number_of_roots = vec![2, 1];
+ let expected_number_of_roots = [2, 1];
285
let mut expected_root_ids = vec![
286
vec![NodeId::from(0)],
287
vec![NodeId::from(1), NodeId::from(0)],
0 commit comments