We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5edc49e commit 2fa424bCopy full SHA for 2fa424b
1 file changed
embedded-service/src/intrusive_list.rs
@@ -93,7 +93,7 @@ impl Default for IntrusiveList {
93
94
impl IntrusiveList {
95
/// construct an empty intrusive list
96
- pub fn new() -> IntrusiveList {
+ pub const fn new() -> IntrusiveList {
97
IntrusiveList { head: Cell::new(None) }
98
}
99
0 commit comments