Commit 0d494b89 authored by Tom Almeida's avatar Tom Almeida
Browse files

Merge branch 'ups/derive-debug' into 'master'

filter: derive Debug trait

See merge request !2
parents 75af6765 7e9f8cca
......@@ -6,6 +6,7 @@
//! This implementation is fairly standard, except that it uses atomic integers to work
//! concurrently.
use std::cmp;
......@@ -40,6 +41,7 @@ fn hash(mut x: u64) -> u64 {
/// It works by having an array of bits. Every element is hashed into a sequence of these bits. The
/// bits of the inserted elements are set to 1. When testing for membership, we simply AND the
/// bits.
pub struct Filter {
/// The bit array.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment