We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf2b3a6 + a313f04 commit 713c930Copy full SHA for 713c930
src/alloc.rs
@@ -22,7 +22,7 @@ const REDIS_ALLOCATOR_NOT_AVAILABLE_MESSAGE: &str =
22
/// Defines the Redis allocator. This allocator delegates the allocation
23
/// and deallocation tasks to the Redis server when available, otherwise
24
/// it panics.
25
-#[derive(Copy, Clone)]
+#[derive(Default, Debug, Copy, Clone)]
26
pub struct RedisAlloc;
27
28
unsafe impl GlobalAlloc for RedisAlloc {
0 commit comments