Skip to content

Commit

Permalink
Fix doc-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Feb 17, 2024
1 parent 798978c commit 69db353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vtt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
//!
//! let text = r#"WEBVTT
//!
//! 00:01.000 --> 00:04.000
//! 00:00:01.000 --> 00:00:04.000
//! - Never drink liquid nitrogen.
//!
//! 00:05.000 --> 00:09.000
//! 00:00:05.000 --> 00:00:09.000
//! - It will perforate your stomach.
//! - You could die.
//! "#;
Expand Down Expand Up @@ -91,7 +91,7 @@ use std::ops::{Add, Sub};
/// - You could die.
/// "#;
///
/// let vtt = WebVtt::parse(text)?;
/// let vtt = WebVtt::parse(text).unwrap();
///
/// assert_eq!(
/// vtt,
Expand Down

0 comments on commit 69db353

Please sign in to comment.