doc: Fix some ancient doc links

This commit is contained in:
Serial 2024-04-20 12:28:00 -04:00 committed by Alex
parent 593d7b2a97
commit 8867f41cc4
4 changed files with 8 additions and 8 deletions

View file

@ -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,
@ -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
///

View file

@ -93,7 +93,7 @@ pub trait TagExt: Accessor + Into<Tag> + Sized {
)
}
/// Save the tag to a [`File`]
/// Save the tag to a [`FileLike`]
///
/// # Errors
///
@ -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
///

View file

@ -41,7 +41,7 @@ impl TagType {
}
#[allow(clippy::shadow_unrelated)]
/// Remove a tag from a [`File`]
/// Remove a tag from a [`FileLike`]
///
/// # Errors
///

View file

@ -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.
@ -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.
@ -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.