aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1a86286..e1f26b4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -51,6 +51,6 @@ pub fn micromark(value: &str) -> String {
/// ```
#[must_use]
pub fn micromark_with_options(value: &str, options: &Options) -> String {
- let (events, codes) = parse(value);
- compile(&events, &codes, options)
+ let (events, result) = parse(value);
+ compile(&events, &result.codes, options)
}