From e3d6696451737e4c1e6b04be9d9849f688cc2c33 Mon Sep 17 00:00:00 2001 From: 10gic <2391796+10gic@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:32:17 +0800 Subject: [PATCH] Fix incorrect value of NO_PAD constant --- rust/tw_encoding/src/base64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/tw_encoding/src/base64.rs b/rust/tw_encoding/src/base64.rs index 78723360a66..d39143dd388 100644 --- a/rust/tw_encoding/src/base64.rs +++ b/rust/tw_encoding/src/base64.rs @@ -14,7 +14,7 @@ pub const STANDARD: Config = Config { pub const NO_PAD: Config = Config { url: false, - pad: true, + pad: false, }; pub const URL_SAFE: Config = Config {