Skip to content

Commit

Permalink
fix docs using draw_cache instead of draw
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Dec 5, 2023
1 parent 4bc1670 commit a3af653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub trait Chart<Message> {
///
/// #[inline]
/// fn draw<R: Renderer, F: Fn(&mut Frame)>(&self, renderer: &R, bounds: Size, draw_fn: F) -> Geometry {
/// R::draw(renderer, &self.cache, size, draw_fn)
/// R::draw_cache(renderer, &self.cache, size, draw_fn)
/// }
/// //...
/// }
Expand Down

0 comments on commit a3af653

Please sign in to comment.