Skip to content

Commit d964f79

Browse files
kud1inghuonw
kud1ing
authored andcommitted
base64: backticks for code in documentation
1 parent d798e00 commit d964f79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libextra/base64.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ use std::str;
1313

1414
/// Available encoding character sets
1515
pub enum CharacterSet {
16-
/// The standard character set (uses '+' and '/')
16+
/// The standard character set (uses `+` and `/`)
1717
Standard,
18-
/// The URL safe character set (uses '-' and '_')
18+
/// The URL safe character set (uses `-` and `_`)
1919
UrlSafe
2020
}
2121

22-
/// Contains configuration parameters for to_base64
22+
/// Contains configuration parameters for `to_base64`.
2323
pub struct Config {
2424
/// Character set to use
2525
char_set: CharacterSet,
26-
/// True to pad output with '=' characters
26+
/// True to pad output with `=` characters
2727
pad: bool,
28-
/// Some(len) to wrap lines at len, None to disable line wrapping
28+
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
2929
line_length: Option<uint>
3030
}
3131

0 commit comments

Comments
 (0)