Skip to content

Commit

Permalink
fix: move comments from lib.rs to mod files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Oct 25, 2024
1 parent 37d1f26 commit 7d8b610
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions lattices/src/ght.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! GHT from the Wang/Willsey/Suciu Freejoin work
use std::collections::HashMap;
use std::fmt::Debug;
use std::hash::Hash;
Expand Down
4 changes: 3 additions & 1 deletion lattices/src/ght_lazy.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
//! COLT from Wang/Willsey/Suciu
use std::hash::Hash;

use variadics::variadic_collections::VariadicCollection;
use variadics::{var_expr, var_type, PartialEqVariadic, SplitBySuffix, VariadicExt};

use crate::ght::{GeneralizedHashTrieNode, GhtGet, GhtInner, GhtLeaf};

/// COLT from Wang/Willsey/Suciu
/// Data structure design for our COLT is unique.
///
/// In the paper, the COLT is an unbalanced trie that "grows upward" from leaves lazily
/// on access via the `force` method.
Expand Down
1 change: 1 addition & 0 deletions lattices/src/ght_macros.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Macros for GHT
#[macro_export]
/// Internal macro for constructing a Ght struct with the given schema and storage type
///
Expand Down
1 change: 1 addition & 0 deletions lattices/src/ght_test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Tests for the GHT code
#[cfg(test)]
mod test {
use std::collections::HashSet;
Expand Down
5 changes: 0 additions & 5 deletions lattices/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@ pub mod algebra;
pub mod collections;
mod conflict;
mod dom_pair;
/// GHT from the Wang/Willsey/Suciu Freejoin work
pub mod ght;
/// Lattice methods for GHT
pub mod ght_lattice;
/// COLT from the Wang/Willsey/Suciu Freejoin work
pub mod ght_lazy;
/// Macros for GHT
pub mod ght_macros;
/// Tests for GHT
pub mod ght_test;
pub mod map_union;
pub mod map_union_with_tombstones;
Expand Down

0 comments on commit 7d8b610

Please sign in to comment.