From c34461b057c875ede529e9e40a4572521d698555 Mon Sep 17 00:00:00 2001 From: AuTa Date: Mon, 9 Dec 2024 10:03:57 +0800 Subject: [PATCH] docs: add rust in code block --- src/sort.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sort.rs b/src/sort.rs index eec1be1..ca96e23 100644 --- a/src/sort.rs +++ b/src/sort.rs @@ -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' }); @@ -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' }); @@ -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" });