Skip to content

Commit

Permalink
feat(cell): add missing Store impl for CellBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Feb 13, 2025
1 parent cdc0fa5 commit 4cad5bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cell/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ impl<T: Store> Store for Option<T> {
}
}

impl Store for CellBuilder {
#[inline]
fn store_into(&self, builder: &mut CellBuilder, _: &dyn CellContext) -> Result<(), Error> {
builder.store_builder(self)
}
}

impl Store for CellSlice<'_> {
#[inline]
fn store_into(&self, builder: &mut CellBuilder, _: &dyn CellContext) -> Result<(), Error> {
Expand Down

0 comments on commit 4cad5bd

Please sign in to comment.