Skip to content

Commit

Permalink
docs: fix trailing ``` in mod.rs example
Browse files Browse the repository at this point in the history
  • Loading branch information
bdura authored Feb 12, 2024
1 parent 9652c78 commit e8e4a22
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 @@ -113,6 +113,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 e8e4a22

Please sign in to comment.