From 9bdde6241e1783c25f6470adc6ef79dc573b67e8 Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Thu, 13 Jan 2022 18:33:56 +0100 Subject: [PATCH] serde: Update base64.rs with a comment Some minimal comment after https://github.com/ruma/ruma/pull/773#discussion_r757822969. --- crates/ruma-serde/src/base64.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ruma-serde/src/base64.rs b/crates/ruma-serde/src/base64.rs index 516b0100..a2ac16bf 100644 --- a/crates/ruma-serde/src/base64.rs +++ b/crates/ruma-serde/src/base64.rs @@ -9,6 +9,7 @@ pub struct Base64> { bytes: B, } +// See https://github.com/matrix-org/matrix-doc/issues/3211 const BASE64_CONFIG: base64::Config = base64::STANDARD_NO_PAD.decode_allow_trailing_bits(true); impl> Base64 {