Skip to content

Commit

Permalink
chore: satisfy latest clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Nov 28, 2024
1 parent 70e5e0b commit 47d01a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/rnote-compose/src/style/indicators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub fn draw_rectangular_node(
);
}

/// Circular Node
// Circular Node

/// Circular node outline width.
pub const CIRCULAR_NODE_OUTLINE_WIDTH: f64 = 1.5;
Expand Down
4 changes: 2 additions & 2 deletions crates/rnote-engine/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ macro_rules! engine_view_mut {
};
}

impl<'a> EngineViewMut<'a> {
impl EngineViewMut<'_> {
// Converts itself to the immutable view.
pub(crate) fn as_im<'m>(&'m self) -> EngineView<'m> {
EngineView::<'m> {
Expand Down Expand Up @@ -403,7 +403,7 @@ impl Engine {
/// if let Some(task) = task_rx.next().await {
/// let (widget_flags, quit) = canvas.engine_mut().handle_engine_task(task);
/// canvas.emit_handle_widget_flags(widget_flags);

///
/// if quit {
/// break;
/// }
Expand Down
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/strokes/resize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct Resize {
pub respect_borders: bool,
}

/// helper functions for calculating resizing factors
// helper functions for calculating resizing factors

/// Calculate where the next border of the page is
/// based on the current `position` and the `size` of
Expand Down

0 comments on commit 47d01a2

Please sign in to comment.