Skip to content

Commit

Permalink
clean up warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Jun 27, 2024
1 parent 950ba2f commit 5ca2f63
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions hydroflow/tests/surface_lattice_bimorphism.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use lattices::ght::GeneralizedHashTrie;
use lattices::ght_lattice::{DeepJoinLatticeBimorphism, GhtBimorphism};
use lattices::map_union::{KeyedBimorphism, MapUnionHashMap, MapUnionSingletonMap};
use lattices::set_union::{CartesianProductBimorphism, SetUnionHashSet, SetUnionSingletonSet};
use lattices::{GhtNodeType, GhtType};
use lattices::GhtType;
use multiplatform_test::multiplatform_test;
use variadics::{var_expr, UnrefCloneVariadic};
use variadics::var_expr;

#[multiplatform_test]
pub fn test_cartesian_product() {
Expand Down
2 changes: 0 additions & 2 deletions hydroflow/tests/surface_lattice_generalized_hash_trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use hydroflow::lattices::GhtType;
use hydroflow::util::collect_ready;
use hydroflow::variadics::{var_expr, var_type};
use lattices::ght_lattice::{DeepJoinLatticeBimorphism, GhtBimorphism};
use lattices::GhtNodeType;

#[test]
fn test_basic() {
Expand Down Expand Up @@ -46,7 +45,6 @@ fn test_join() {
var_expr!(4, 40),
];
let s = vec![var_expr!(1, 100), var_expr!(5, 500)];
type LeafProd = GhtNodeType!(u16 => u16);

type MyNodeBim =
<(MyGhtTrie, MyGhtTrie) as DeepJoinLatticeBimorphism>::DeepJoinLatticeBimorphism;
Expand Down
1 change: 1 addition & 0 deletions lattices/src/ght.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ where
/// dependent column types. You pass it:
/// - a list of key column types and dependent column type separated by a fat arrow,
/// a la (K1, K2, K3 => T1, T2, T3)
///
/// This macro generates a hierarchy of GHT node types where each key column is associated with an GhtInner
/// of the associated column type, and the remaining dependent columns are associated with a variadic HTleaf
/// a la var_expr!(T1, T2, T3)
Expand Down
8 changes: 0 additions & 8 deletions lattices/src/ght_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,6 @@ mod test {
assert_eq!(k1, k2);
}

use variadics::var_len;
use variadics_macro::tuple;

#[test]
Expand All @@ -670,13 +669,6 @@ mod test {
assert_eq!(tup, (&1, &2, &3));
}

#[test]
fn test_var_len() {
assert_eq!(1, var_len!((1, ())));
assert_eq!(2, var_len!((1, (2, ()))));
assert_eq!(3, var_len!((1, (2, (3, ())))));
}

use std::hash::BuildHasherDefault;

#[test]
Expand Down

0 comments on commit 5ca2f63

Please sign in to comment.