From 156685be74550ee265cf5f22a1ce37334787acd4 Mon Sep 17 00:00:00 2001 From: kud1ing Date: Thu, 26 Sep 2013 07:57:26 +0200 Subject: [PATCH] base64: backticks for code in documentation --- src/libextra/base64.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libextra/base64.rs b/src/libextra/base64.rs index f26554c42f4f9..c182a005f4b96 100644 --- a/src/libextra/base64.rs +++ b/src/libextra/base64.rs @@ -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 }