From 2d7fee0aec3cf9b93a6024cc0188d8b306bb49b4 Mon Sep 17 00:00:00 2001 From: Thorsten Lorenz Date: Mon, 2 Feb 2026 17:19:32 +0800 Subject: [PATCH 1/2] chore: allow deprecated items in lib.rs Amp-Thread-ID: https://ampcode.com/threads/T-019c1da5-f037-7155-9315-dc0eb0bfc7af Co-authored-by: Amp --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 2945191..35c3121 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,8 @@ #![cfg_attr(feature = "frozen-abi", feature(min_specialization))] #![allow(clippy::arithmetic_side_effects)] +// We don't want to modify this crate more than necessary in ordr to be +// able to merge upstream changes. So we don't fix deprecated items here. +#![allow(deprecated)] mod access_permissions; pub mod account_loader; From 14becf91740096249abcf3a266f02b288127ea69 Mon Sep 17 00:00:00 2001 From: Thorsten Lorenz Date: Mon, 2 Feb 2026 18:13:49 +0800 Subject: [PATCH 2/2] docs: fix typo in crate comment Amp-Thread-ID: https://ampcode.com/threads/T-019c1dd7-784c-7081-b4c9-68614bb97dce Co-authored-by: Amp --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 35c3121..dd5ed39 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,7 @@ #![cfg_attr(feature = "frozen-abi", feature(min_specialization))] #![allow(clippy::arithmetic_side_effects)] -// We don't want to modify this crate more than necessary in ordr to be -// able to merge upstream changes. So we don't fix deprecated items here. +// So we don't fix deprecated items here in order to be +// able to merge upstream changes. #![allow(deprecated)] mod access_permissions;