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:
parent
9569028d98
commit
387d0ad3e3
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user