Skip to content

Commit

Permalink
doc: Fix some ancient doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Apr 20, 2024
1 parent 593d7b2 commit 8867f41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/tag/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ impl TagExt for Tag {
/// # Errors
///
/// * A [`FileType`](crate::file::FileType) couldn't be determined from the File
/// * Attempting to write a tag to a format that does not support it. See [`FileType::supports_tag_type`](crate::FileType::supports_tag_type)
/// * Attempting to write a tag to a format that does not support it. See [`FileType::supports_tag_type`](crate::file::FileType::supports_tag_type)
fn save_to<F>(
&self,
file: &mut F,
Expand Down Expand Up @@ -603,7 +603,7 @@ impl TagExt for Tag {
self.tag_type.remove_from_path(path)
}

/// Remove a tag from a [`FileLike`](crate::FileLike)
/// Remove a tag from a [`FileLike`]
///
/// # Errors
///
Expand Down
4 changes: 2 additions & 2 deletions src/tag/tag_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub trait TagExt: Accessor + Into<Tag> + Sized {
)
}

/// Save the tag to a [`File`]
/// Save the tag to a [`FileLike`]
///
/// # Errors
///
Expand Down Expand Up @@ -128,7 +128,7 @@ pub trait TagExt: Accessor + Into<Tag> + Sized {
self.tag_type().remove_from_path(path).map_err(Into::into)
}

/// Remove a tag from a [`File`]
/// Remove a tag from a [`FileLike`]
///
/// # Errors
///
Expand Down
2 changes: 1 addition & 1 deletion src/tag/tag_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl TagType {
}

#[allow(clippy::shadow_unrelated)]
/// Remove a tag from a [`File`]
/// Remove a tag from a [`FileLike`]
///
/// # Errors
///
Expand Down
6 changes: 3 additions & 3 deletions src/util/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<T> SeekStreamLen for T where T: Seek {}
/// Provides a method to truncate an object to the specified length
///
/// This is one component of the [`FileLike`] trait, which is used to provide implementors access to any
/// file saving methods such as [`crate::AudioFile::save_to`].
/// file saving methods such as [`crate::file::AudioFile::save_to`].
///
/// Take great care in implementing this for downstream types, as Lofty will assume that the
/// container has the new length specified. If this assumption were to be broken, files **will** become corrupted.
Expand Down Expand Up @@ -91,7 +91,7 @@ where
/// Provides a method to get the length of a storage object
///
/// This is one component of the [`FileLike`] trait, which is used to provide implementors access to any
/// file saving methods such as [`crate::AudioFile::save_to`].
/// file saving methods such as [`crate::file::AudioFile::save_to`].
///
/// Take great care in implementing this for downstream types, as Lofty will assume that the
/// container has the exact length specified. If this assumption were to be broken, files **may** become corrupted.
Expand Down Expand Up @@ -156,7 +156,7 @@ where
/// Provides a set of methods to read and write to a file-like object
///
/// This is a combination of the [`Read`], [`Write`], [`Seek`], [`Truncate`], and [`Length`] traits.
/// It is used to provide implementors access to any file saving methods such as [`crate::AudioFile::save_to`].
/// It is used to provide implementors access to any file saving methods such as [`crate::file::AudioFile::save_to`].
///
/// Take great care in implementing this for downstream types, as Lofty will assume that the
/// trait implementations are correct. If this assumption were to be broken, files **may** become corrupted.
Expand Down

0 comments on commit 8867f41

Please sign in to comment.