Skip to content

Commit

Permalink
zeroed in pinned-init master no longer has the E generic
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jul 7, 2024
1 parent 483f48d commit e434ff3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rs-matter/src/persist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pub use fileio::*;

#[cfg(feature = "std")]
pub mod fileio {
use core::convert::Infallible;
use core::mem::MaybeUninit;

use std::fs;
Expand Down Expand Up @@ -52,7 +51,7 @@ pub mod fileio {

pub fn init() -> impl Init<Self> {
init!(Self {
buf <- crate::utils::init::zeroed::<_, Infallible>(),
buf <- crate::utils::init::zeroed(),
})
}

Expand Down

0 comments on commit e434ff3

Please sign in to comment.