more fn attributes.

This commit is contained in:
Lokathor
2020-08-08 19:09:18 -06:00
parent b5c4a51427
commit 533db28003
+2
View File
@@ -19,6 +19,8 @@ pub struct SliceVec<'s, T> {
}
impl<'s, T> Default for SliceVec<'s, T> {
#[inline(always)]
#[must_use]
fn default() -> Self {
Self { data: &mut [], len: 0 }
}