Files
nixpkgs/pkgs/tools/text/mdcat/fix-clippy.diff
T
2025-08-26 18:52:06 +02:00

15 lines
550 B
Diff

diff --git a/pulldown-cmark-mdcat/src/terminal/osc.rs b/pulldown-cmark-mdcat/src/terminal/osc.rs
index 8fa2db6..dc2a2da 100644
--- a/pulldown-cmark-mdcat/src/terminal/osc.rs
+++ b/pulldown-cmark-mdcat/src/terminal/osc.rs
@@ -20,9 +20,6 @@ pub fn write_osc<W: Write + ?Sized>(writer: &mut W, command: &str) -> Result<()>
Ok(())
}
-#[derive(Debug, PartialEq, Eq, Copy, Clone)]
-pub struct Osc8Links;
-
/// Whether the given `url` needs to get an explicit host.
///
/// [OSC 8] links require that `file://` URLs give an explicit hostname, as