ui: Fix doctest (#12985)

Yan Qian and Marshall Bowers created

Fix the documentation tests failed when running `cargo test --workspace`

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Change summary

crates/ui/src/components/label/label.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/ui/src/components/label/label.rs 🔗

@@ -62,7 +62,7 @@ impl Label {
     /// ```
     /// use ui::prelude::*;
     ///
-    /// let my_label = Label::new("Hello, World!").single_line(true);
+    /// let my_label = Label::new("Hello, World!").single_line();
     /// ```
     pub fn single_line(mut self) -> Self {
         self.single_line = true;