Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcnb-test: Remove redundant Clippy allow attributes #744

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions libcnb-test/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ use std::path::{Path, PathBuf};
use std::{fs, io};

/// Packages the current crate as a buildpack into the provided directory.
// TODO: Convert the `assert!` usages to an additional `PackageBuildpackError` variant instead:
// https://github.com/heroku/libcnb.rs/issues/709
#[allow(clippy::panic_in_result_fn)]
pub(crate) fn package_crate_buildpack(
cargo_profile: CargoProfile,
target_triple: impl AsRef<str>,
Expand All @@ -41,9 +38,6 @@ pub(crate) fn package_crate_buildpack(
)
}

// TODO: Convert the `assert!` usages to an additional `PackageBuildpackError` variant instead:
// https://github.com/heroku/libcnb.rs/issues/709
#[allow(clippy::panic_in_result_fn)]
pub(crate) fn package_buildpack(
buildpack_id: &BuildpackId,
cargo_profile: CargoProfile,
Expand Down