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.
1 parent bf2b3a6 commit a313f04Copy full SHA for a313f04
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