1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-22 21:01:36 +03:00

rustdoc markdown fences--

This commit is contained in:
Wez Furlong 2022-11-15 09:40:10 -07:00
parent 9569028d98
commit 387d0ad3e3
No known key found for this signature in database

View File

@ -622,14 +622,12 @@ impl CursorInfo {
} }
} }
/// The index.theme file looks something like this: // The index.theme file looks something like this:
/// //
/// ``` // [Icon Theme]
/// [Icon Theme] // Inherits=Adwaita
/// Inherits=Adwaita //
/// ``` // This function extracts the inherited theme name from it.
///
/// This function extracts the inherited theme name from it.
fn extract_inherited_theme_name(p: PathBuf) -> Option<String> { fn extract_inherited_theme_name(p: PathBuf) -> Option<String> {
let data = std::fs::read_to_string(&p).ok()?; let data = std::fs::read_to_string(&p).ok()?;
log::trace!("Parsing {p:?} to determine inheritance"); log::trace!("Parsing {p:?} to determine inheritance");