my fork of dmp
Doc fixes
Anubhab Bandyopadhyay 2024-08-29
parent a5572f9 · commit b94a2b0
-rw-r--r--src/html.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.rs b/src/html.rs
index 0d9052d..97b6c95 100644
--- a/src/html.rs
+++ b/src/html.rs
@@ -11,6 +11,8 @@
/// `insert_style`, `delete_style` and `equality_style` would add css style property to the output.
/// E.g. if `insert_style: Some("background: yellow; color: purple")` is set the
/// `insert` part of the pretty html would look like `<ins style="background: yellow; color: purple">insert text</ins>`
+///
+/// [`pretty_html`]: struct.DiffMatchPatch.html/method.diff_pretty_html
pub struct HtmlConfig<'a> {
insert_tag: &'a str,
delete_tag: &'a str,