Skip to content

Commit

Permalink
Rename ZStackElements in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorstrate committed Dec 21, 2024
1 parent 94279c9 commit 2503929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xilem/src/view/zstack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl<W: Widget> SuperElement<Pod<W>, ViewCtx> for ZStackElement {

// MARK: Sequence

/// A trait implementing `ViewSequence` for `ZStackElements`.
/// A trait implementing `ViewSequence` for `ZStackElement`.
pub trait ZStackSequence<State, Action = ()>:
ViewSequence<State, Action, ViewCtx, ZStackElement>
{
Expand All @@ -310,7 +310,7 @@ impl<Seq, State, Action> ZStackSequence<State, Action> for Seq where

// MARK: Splice

/// An implementation of [`ElementSplice`] for `ZStackElements`.
/// An implementation of [`ElementSplice`] for `ZStackElement`.
pub struct ZStackSplice<'w> {
idx: usize,
element: WidgetMut<'w, widget::ZStack>,
Expand Down

0 comments on commit 2503929

Please sign in to comment.