diff --git a/Cargo.toml b/Cargo.toml index 35ac7bf3..92d344b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,7 @@ tokio = { version = "1.24.2", optional = true } cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", optional = true } sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", optional = true, rev = "3776d4a" } slotmap = "1.0.6" +fraction = "0.13.0" [dependencies.cosmic-theme] git = "https://github.com/pop-os/cosmic-theme.git" diff --git a/src/widget/spin_button/model.rs b/src/widget/spin_button/model.rs index be281636..2f4c7efa 100644 --- a/src/widget/spin_button/model.rs +++ b/src/widget/spin_button/model.rs @@ -6,7 +6,7 @@ use fraction::{Bounded, Decimal}; use std::hash::Hash; use std::ops::{Add, Sub}; -/// A message emitted by the [`SpinButton`] widget. +/// A message emitted by the [`SpinButton`](super) widget. #[derive(Clone, Copy, Debug, Hash)] pub enum Message { Increment,