From 56de081381f18e35bcc10c38858f13cd0ffc9768 Mon Sep 17 00:00:00 2001 From: debris Date: Wed, 16 Dec 2015 16:27:27 +0100 Subject: [PATCH] squeeze is pub --- src/squeeze.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/squeeze.rs b/src/squeeze.rs index 220c61800..ddec2a3a9 100644 --- a/src/squeeze.rs +++ b/src/squeeze.rs @@ -3,7 +3,7 @@ use std::hash::Hash; use heapsize::HeapSizeOf; /// Should be used to squeeze collections to certain size in bytes -trait Squeeze { +pub trait Squeeze { fn squeeze(&mut self, size: usize); }