Skip to content

Commit

Permalink
chore: Fix warnings during docs build
Browse files Browse the repository at this point in the history
and make sure that `cross_toml` shows up as part of the official
documentation along the way.
  • Loading branch information
har7an committed Feb 13, 2024
1 parent 3fef772 commit e636ee5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/docker/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl EngineType {
/// Some container engines, especially podman, do not support the `type`
/// key of `--cache-from` during the image build steps. They also do
/// not support any tags for the `--cache-from` steps either. See:
/// https://docs.podman.io/en/latest/markdown/podman-build.1.html#cache-from
/// <https://docs.podman.io/en/latest/markdown/podman-build.1.html#cache-from>
#[must_use]
pub const fn supports_cache_from_type(&self) -> bool {
matches!(self, Self::Docker | Self::Nerdctl)
Expand Down
2 changes: 1 addition & 1 deletion src/docker/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl std::fmt::Display for PossibleImage {
}
/// The architecture/platform to use in the image
///
/// https://github.com/containerd/containerd/blob/release/1.6/platforms/platforms.go#L63
/// <https://github.com/containerd/containerd/blob/release/1.6/platforms/platforms.go#L63>
#[derive(Debug, Clone, PartialEq, Eq, serde::Deserialize)]
#[serde(try_from = "String")]
pub struct ImagePlatform {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mod tests;
pub mod cargo;
pub mod cli;
pub mod config;
mod cross_toml;
pub mod cross_toml;
pub mod docker;
pub mod errors;
mod extensions;
Expand Down

0 comments on commit e636ee5

Please sign in to comment.