From ead76a1083a582bf25003a57f5a75fe21fa8f24d Mon Sep 17 00:00:00 2001 From: Stefano Cunego <93382903+kukkok3@users.noreply.github.com> Date: Fri, 1 Dec 2023 15:25:40 +0100 Subject: [PATCH] fix: Allow_expect instead of allow _unwrap (#117) * fix: change allow unwrap to allow expect * fix: clippy example --- earthly/rust/stdcfgs/clippy.toml | 2 +- examples/rust/clippy.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/earthly/rust/stdcfgs/clippy.toml b/earthly/rust/stdcfgs/clippy.toml index 154626ef4..6933b8164 100644 --- a/earthly/rust/stdcfgs/clippy.toml +++ b/earthly/rust/stdcfgs/clippy.toml @@ -1 +1 @@ -allow-unwrap-in-tests = true +allow-expect-in-tests = true diff --git a/examples/rust/clippy.toml b/examples/rust/clippy.toml index 154626ef4..6933b8164 100644 --- a/examples/rust/clippy.toml +++ b/examples/rust/clippy.toml @@ -1 +1 @@ -allow-unwrap-in-tests = true +allow-expect-in-tests = true