Skip to content

Commit

Permalink
remove const fn for into_innner
Browse files Browse the repository at this point in the history
Signed-off-by: guoweikang <[email protected]>
  • Loading branch information
guoweikang committed Oct 22, 2024
1 parent 325bf0a commit 793fdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 793fdcc

Please sign in to comment.