diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-29 23:23:03 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-29 23:23:03 +0100 |
| commit | c987f07b76b18d8762a0ef48740ecc71722540f0 (patch) | |
| tree | e3c46b60db9d967c87dabddbb74ac3ca03623ba0 /src/ide/mod.rs | |
| parent | 196d9594fbb88985dbf61c146a82b8299bb5fd2e (diff) | |
HTML highlighting
Diffstat (limited to 'src/ide/mod.rs')
| -rw-r--r-- | src/ide/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ide/mod.rs b/src/ide/mod.rs index ac69b38a..4999da52 100644 --- a/src/ide/mod.rs +++ b/src/ide/mod.rs @@ -5,13 +5,13 @@ mod complete; mod highlight; mod tooltip; -pub use analyze::*; -pub use complete::*; -pub use highlight::*; -pub use tooltip::*; +pub use self::complete::*; +pub use self::highlight::*; +pub use self::tooltip::*; use std::fmt::Write; +use self::analyze::*; use crate::font::{FontInfo, FontStyle}; /// Extract the first sentence of plain text of a piece of documentation. @@ -60,7 +60,7 @@ fn plain_docs_sentence(docs: &str) -> String { } /// Create a short description of a font family. -pub fn summarize_font_family<'a>(variants: impl Iterator<Item = &'a FontInfo>) -> String { +fn summarize_font_family<'a>(variants: impl Iterator<Item = &'a FontInfo>) -> String { let mut infos: Vec<_> = variants.collect(); infos.sort_by_key(|info| info.variant); |
