diff options
author | 2024-09-19 03:03:11 +0200 | |
---|---|---|
committer | 2024-09-19 03:03:11 +0200 | |
commit | 51f7ce73248bea2bb7cc2b662433e46fa0c44dcb (patch) | |
tree | a781075250aa1b5f340b42471e91033d5c0eebb4 /widget/src/canvas.rs | |
parent | 5d25562644907488203604769f338feb2c7df9b0 (diff) | |
download | iced-51f7ce73248bea2bb7cc2b662433e46fa0c44dcb.tar.gz iced-51f7ce73248bea2bb7cc2b662433e46fa0c44dcb.tar.bz2 iced-51f7ce73248bea2bb7cc2b662433e46fa0c44dcb.zip |
Show `checkbox` doc example in multiple places
Diffstat (limited to 'widget/src/canvas.rs')
-rw-r--r-- | widget/src/canvas.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/canvas.rs b/widget/src/canvas.rs index fb6d55e1..bb6b0353 100644 --- a/widget/src/canvas.rs +++ b/widget/src/canvas.rs @@ -1,6 +1,6 @@ //! Draw 2D graphics for your users. //! -//! ## Drawing a simple circle +//! # Example: Drawing a Simple Circle //! Here's how we can use a [`Canvas`] to draw a simple circle: //! //! ```no_run @@ -90,7 +90,7 @@ pub type Frame<Renderer = crate::Renderer> = geometry::Frame<Renderer>; /// A widget capable of drawing 2D graphics. /// -/// ## Drawing a simple circle +/// # Example: Drawing a Simple Circle /// Here's how we can use a [`Canvas`] to draw a simple circle: /// /// ```no_run |