diff options
Diffstat (limited to 'support/texlab/src/util/label.rs')
-rw-r--r-- | support/texlab/src/util/label.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/src/util/label.rs b/support/texlab/src/util/label.rs index f0fae34337..50e2ea21e7 100644 --- a/support/texlab/src/util/label.rs +++ b/support/texlab/src/util/label.rs @@ -209,7 +209,7 @@ fn render_label_enum_item( .label() .and_then(|label| label.content_text()) .map(|text| Word::new(db, text)) - .or_else(|| number), + .or(number), object: LabeledObject::EnumItem, }) } |