Skip to content

Commit

Permalink
docs: add rust in code block
Browse files Browse the repository at this point in the history
  • Loading branch information
AuTa committed Dec 9, 2024
1 parent 62c8831 commit c34461b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impl<'a, T: 'a> NodeMut<'a, T> {
///
/// # Examples
///
/// ```
/// ```rust
/// use ego_tree::tree;
///
/// let mut tree = tree!('a' => { 'd', 'c', 'b' });
Expand All @@ -36,7 +36,7 @@ impl<'a, T: 'a> NodeMut<'a, T> {
///
/// # Examples
///
/// ```
/// ```rust
/// use ego_tree::tree;
///
/// let mut tree = tree!('a' => { 'c', 'd', 'b' });
Expand Down Expand Up @@ -87,7 +87,7 @@ impl<'a, T: 'a> NodeMut<'a, T> {
///
/// # Examples
///
/// ```
/// ```rust
/// use ego_tree::tree;
///
/// let mut tree = tree!("1a" => { "2b", "4c", "3d" });
Expand Down

0 comments on commit c34461b

Please sign in to comment.