mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 11:16:03 +00:00
Fix Canvas doc comment
This commit is contained in:
parent
26e6f4ff97
commit
451d27b58e
@ -24,6 +24,7 @@ impl<T> Canvas<T> {
|
|||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
|
/// # use cursive::views::Canvas;
|
||||||
/// let canvas = Canvas::new(())
|
/// let canvas = Canvas::new(())
|
||||||
/// .with_draw(|printer, _| {
|
/// .with_draw(|printer, _| {
|
||||||
/// // Print the view
|
/// // Print the view
|
||||||
|
Loading…
Reference in New Issue
Block a user