mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-05 02:19:12 +00:00
doc: Fix some ancient doc links
This commit is contained in:
parent
593d7b2a97
commit
8867f41cc4
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
///
|
||||
|
|
|
@ -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
|
||||
///
|
||||
|
|
|
@ -41,7 +41,7 @@ impl TagType {
|
|||
}
|
||||
|
||||
#[allow(clippy::shadow_unrelated)]
|
||||
/// Remove a tag from a [`File`]
|
||||
/// Remove a tag from a [`FileLike`]
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue