Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecot committed Jan 12, 2024
1 parent 511a686 commit 8f79e27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl From<&[u8]> for FileFormat {
}
}

/// A kind of [`FileFormat`].
/// A kind of file format.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub enum Kind {
Expand Down
8 changes: 4 additions & 4 deletions src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Macros for generating the [FileFormat](crate::FileFormat) enum and associated methods.
//! Macros for generating the [`FileFormat`](crate::FileFormat) enum and associated methods.

/// Generates the [FileFormat](crate::FileFormat) enum with methods for retrieving information.
/// Generates the [`FileFormat`](crate::FileFormat) enum with methods for retrieving information.
///
/// # Parameters
///
Expand Down Expand Up @@ -123,7 +123,7 @@ macro_rules! formats {
}
}

/// Returns the [Kind](crate::Kind) of the file format.
/// Returns the [`Kind`](crate::Kind) of the file format.
///
/// # Examples
///
Expand All @@ -146,7 +146,7 @@ macro_rules! formats {
};
}

/// Generates the [FileFormat::from_signature](crate::FileFormat::from_signature) function.
/// Generates the [`FileFormat::from_signature`](crate::FileFormat::from_signature) function.
///
/// # Parameters
///
Expand Down

0 comments on commit 8f79e27

Please sign in to comment.