Skip to content

Commit

Permalink
Merge pull request #267 from bdura/patch-1
Browse files Browse the repository at this point in the history
docs: fix trailing ``` in mod.rs example
  • Loading branch information
marshallpierce authored Mar 26, 2024
2 parents 5d70ba7 + d96c80f commit 9a518a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ pub trait Engine: Send + Sync {
/// engine::GeneralPurpose::new(&alphabet::URL_SAFE, general_purpose::NO_PAD);
///
/// let b64_url = CUSTOM_ENGINE.encode(b"hello internet~");
/// ```
#[cfg(any(feature = "alloc", test))]
#[inline]
fn encode<T: AsRef<[u8]>>(&self, input: T) -> String {
Expand Down

0 comments on commit 9a518a2

Please sign in to comment.