Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emmabritton committed Sep 6, 2024
1 parent 9dbcc77 commit 1c5bc29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ pub enum SceneUpdateResult<SR: Clone + PartialEq + Debug, SN: Clone + PartialEq
/// # Common mistakes
///
/// * If you use a field to store the [SceneUpdateResult] and return in [update()][Scene::update]
/// and then forget to clear it in [resuming][Scene::resuming] after a child returns then the child
/// will immediately reopen
/// and then forget to clear it in [resuming][Scene::resuming] after a child returns then the child
/// will immediately reopen
pub trait Scene<SR: Clone + PartialEq + Debug, SN: Clone + PartialEq + Debug> {
fn id(&self) -> u32 {
0
Expand Down
4 changes: 4 additions & 0 deletions src/ui/layout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ macro_rules! bounds {
/// - Left - then only the `top_left` of `bounds` is used
/// - Center - then only the `center` of `bounds` is used
/// - Right - then only the `bottom_right` of `bounds` is used
///
/// `padding` is used to offset views from the relevant position
///
/// `spacing` is space between views
///
/// **Usage**
Expand All @@ -69,7 +71,9 @@ macro_rules! column_layout {
/// - Top - then only the `top_left` of `bounds` is used
/// - Center - then only the `center` of `bounds` is used
/// - Bottom - then only the `bottom_right` of `bounds` is used
///
/// `padding` is used to offset views from the relevant position
///
/// `spacing` is space between views
///
/// **Usage**
Expand Down

0 comments on commit 1c5bc29

Please sign in to comment.