We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc7f21 commit 86715c5Copy full SHA for 86715c5
src/jws.rs
@@ -57,7 +57,7 @@ pub(crate) struct ShaWithEcdsaKey(PKey<Private>);
57
pub(crate) struct ShaWithRsaKey(PKey<Private>);
58
59
#[inline]
60
-pub fn base64url<T: AsRef<[u8]>>(buf: T) -> std::string::String {
+pub fn base64url<T: AsRef<[u8]>>(buf: T) -> String {
61
base64::Engine::encode(&base64::engine::general_purpose::URL_SAFE_NO_PAD, buf)
62
}
63
0 commit comments