Skip to content

Commit

Permalink
Refactor documents
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Feb 19, 2024
1 parent 4106d63 commit 38c6767
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/vtt.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! A parser for the WebVTT (`.vtt`) format provided by [`subtp::vtt::WebVtt`](crate::vtt::WebVtt).
//! A parser for the WebVTT (`.vtt`) format provided by [`subtp::vtt::WebVtt`](WebVtt).
//!
//! ## Example
//! ```
Expand Down Expand Up @@ -71,8 +71,8 @@ use std::time::Duration;

/// The WebVTT (`.vtt`) format.
///
/// Parses from text by [`WebVtt::parse`](crate::vtt::WebVtt::parse)
/// and renders to text by [`WebVtt::render`](crate::vtt::WebVtt::render).
/// Parses from text by [`WebVtt::parse`](WebVtt::parse)
/// and renders to text by [`WebVtt::render`](WebVtt::render).
///
/// ## Example
/// ```
Expand Down Expand Up @@ -376,7 +376,7 @@ impl Display for VttDescription {
///
/// ## Example
///
/// From [`VttCue`](crate::vtt::VttCue):
/// From [`VttCue`](VttCue):
/// ```
/// use subtp::vtt::VttBlock;
/// use subtp::vtt::VttCue;
Expand Down Expand Up @@ -404,7 +404,7 @@ impl Display for VttDescription {
/// );
/// ```
///
/// From [`VttComment`](crate::vtt::VttComment):
/// From [`VttComment`](VttComment):
/// ```
/// use subtp::vtt::VttBlock;
/// use subtp::vtt::VttComment;
Expand All @@ -417,7 +417,7 @@ impl Display for VttDescription {
/// );
/// ```
///
/// From [`VttStyle`](crate::vtt::VttStyle):
/// From [`VttStyle`](VttStyle):
/// ```
/// use subtp::vtt::VttBlock;
/// use subtp::vtt::VttStyle;
Expand All @@ -436,7 +436,7 @@ impl Display for VttDescription {
/// );
/// ```
///
/// From [`VttRegion`](crate::vtt::VttRegion):
/// From [`VttRegion`](VttRegion):
/// ```
/// use subtp::vtt::VttBlock;
/// use subtp::vtt::VttRegion;
Expand Down

0 comments on commit 38c6767

Please sign in to comment.