mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2025-01-22 00:45:00 +00:00
fmt
This commit is contained in:
parent
e66ab4587d
commit
55cc5e5264
2 changed files with 4 additions and 5 deletions
|
@ -79,7 +79,7 @@ pub trait TagExt: Accessor + Into<Tag> + Sized {
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use lofty::{Tag, TagExt, Accessor};
|
/// use lofty::{Accessor, Tag, TagExt};
|
||||||
/// # let tag_type = lofty::TagType::Id3v2;
|
/// # let tag_type = lofty::TagType::Id3v2;
|
||||||
///
|
///
|
||||||
/// let mut tag = Tag::new(tag_type);
|
/// let mut tag = Tag::new(tag_type);
|
||||||
|
|
|
@ -53,7 +53,7 @@ macro_rules! impl_accessor {
|
||||||
/// Accessing common items
|
/// Accessing common items
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use lofty::{Tag, TagType, Accessor};
|
/// use lofty::{Accessor, Tag, TagType};
|
||||||
///
|
///
|
||||||
/// let tag = Tag::new(TagType::Id3v2);
|
/// let tag = Tag::new(TagType::Id3v2);
|
||||||
///
|
///
|
||||||
|
@ -68,8 +68,7 @@ macro_rules! impl_accessor {
|
||||||
/// Getting an item of a known type
|
/// Getting an item of a known type
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use lofty::{Tag, TagType};
|
/// use lofty::{ItemKey, Tag, TagType};
|
||||||
/// use lofty::ItemKey;
|
|
||||||
///
|
///
|
||||||
/// let tag = Tag::new(TagType::Id3v2);
|
/// let tag = Tag::new(TagType::Id3v2);
|
||||||
///
|
///
|
||||||
|
@ -83,8 +82,8 @@ macro_rules! impl_accessor {
|
||||||
/// Converting between formats
|
/// Converting between formats
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// use lofty::{Tag, TagType};
|
|
||||||
/// use lofty::id3::v2::Id3v2Tag;
|
/// use lofty::id3::v2::Id3v2Tag;
|
||||||
|
/// use lofty::{Tag, TagType};
|
||||||
///
|
///
|
||||||
/// // Converting between formats is as simple as an `into` call.
|
/// // Converting between formats is as simple as an `into` call.
|
||||||
/// // However, such conversions can potentially be *very* lossy.
|
/// // However, such conversions can potentially be *very* lossy.
|
||||||
|
|
Loading…
Reference in a new issue