From ee6542ff31cb8986f1cc5358e4ddbea6662b4119 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:13:02 +0000 Subject: [PATCH] libcnb-test: Remove redundant Clippy allow attributes (#744) Since the lint errors were fixed by #720. --- libcnb-test/src/build.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libcnb-test/src/build.rs b/libcnb-test/src/build.rs index ac0a0e95..50025a20 100644 --- a/libcnb-test/src/build.rs +++ b/libcnb-test/src/build.rs @@ -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, @@ -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,