mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 20:41:59 +00:00
ui: Fix doctest (#12985)
Fix the documentation tests failed when running `cargo test --workspace` Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
0ed5327b1c
commit
8edfd0a963
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue