Skip to content

Commit

Permalink
libcnb-test: Remove redundant Clippy allow attributes (#744)
Browse files Browse the repository at this point in the history
Since the lint errors were fixed by #720.
  • Loading branch information
edmorley authored Nov 17, 2023
1 parent eda8753 commit ee6542f
Showing 1 changed file with 0 additions and 6 deletions.
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

0 comments on commit ee6542f

Please sign in to comment.