From 39f1fc9f0507dd9989be6db41919824494a21f11 Mon Sep 17 00:00:00 2001 From: Erich Lohrmann Date: Sun, 2 May 2021 19:13:10 -0400 Subject: [PATCH] Switched the rc from std to alloc so that it'll compile when standard is not available --- src/groupbylazy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupbylazy.rs b/src/groupbylazy.rs index 5f4fcba56..6fca566ae 100644 --- a/src/groupbylazy.rs +++ b/src/groupbylazy.rs @@ -1,7 +1,7 @@ use alloc::vec::{self, Vec}; use std::cell::{Cell, RefCell}; use std::ops::Deref; -use std::rc::Rc; +use alloc::rc::Rc; /// A trait to unify `FnMut` for `ChunkBy` with the chunk key in `IntoChunks` trait KeyFunction {