We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c641c commit 7059fd6Copy full SHA for 7059fd6
src/level.rs
@@ -59,6 +59,13 @@ impl<'a> Level<'a> {
59
/// not allowed to be passed to this function.
60
///
61
/// </div>
62
+ ///
63
+ /// # Example
64
65
+ /// ```rust
66
+ #[doc = include_str!("../examples/custom_level.rs")]
67
+ /// ```
68
+ #[doc = include_str!("../examples/custom_level.svg")]
69
pub fn with_name(self, name: impl Into<OptionCow<'a>>) -> Level<'a> {
70
Level {
71
name: Some(name.into().0),
0 commit comments