Skip to content

Commit

Permalink
Fix parameter ordering in docs
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Mildenberger <[email protected]>
  • Loading branch information
DJMcNab and Philipp-M authored Sep 18, 2024
1 parent c131e0d commit ce57976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xilem_core/src/views/map_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ where
/// For example, a flight finder app might have a `Date` field for the currently selected date.
///
/// The parameters of this view are:
/// - `component`: The child component the lens is being created for.
/// - `state`: The current outer view's state
/// - `map`: A function from the higher-level state type to `component`'s state type
/// - `component`: The child component the lens is being created for.
///
/// This is a wrapper around [`map_state`].
/// That view can be used if the child doesn't follow the expected component signature.
Expand Down

0 comments on commit ce57976

Please sign in to comment.