From 793fdccc1e4b98235755425e031ca6a846b1302d Mon Sep 17 00:00:00 2001 From: guoweikang Date: Tue, 22 Oct 2024 14:09:10 +0800 Subject: [PATCH] remove const fn for into_innner Signed-off-by: guoweikang --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 265ea7b..8fb8e00 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,7 +42,7 @@ macro_rules! __def_node_internal { #[inline] #[doc = "Consumes the `node`, returning the wrapped inner"] - pub const fn into_inner(self) -> $type { + pub fn into_inner(self) -> $type { self.inner } }