Skip to content

Commit

Permalink
base64: backticks for code in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kud1ing authored and huonw committed Sep 26, 2013
1 parent d798e00 commit d964f79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/libextra/base64.rs
Expand Up @@ -13,19 +13,19 @@ use std::str;

/// Available encoding character sets
pub enum CharacterSet {
/// The standard character set (uses '+' and '/')
/// The standard character set (uses `+` and `/`)
Standard,
/// The URL safe character set (uses '-' and '_')
/// The URL safe character set (uses `-` and `_`)
UrlSafe
}

/// Contains configuration parameters for to_base64
/// Contains configuration parameters for `to_base64`.
pub struct Config {
/// Character set to use
char_set: CharacterSet,
/// True to pad output with '=' characters
/// True to pad output with `=` characters
pad: bool,
/// Some(len) to wrap lines at len, None to disable line wrapping
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
line_length: Option<uint>
}

Expand Down

0 comments on commit d964f79

Please sign in to comment.