Make base64::config fields public again

These got swept up in the great privatizing of 2013.
This commit is contained in:
Steven Fackler 2013-12-11 19:27:20 -08:00
parent 1b12dca7f9
commit 9762698b96
1 changed files with 3 additions and 3 deletions

View File

@ -22,11 +22,11 @@ pub enum CharacterSet {
/// Contains configuration parameters for `to_base64`.
pub struct Config {
/// Character set to use
priv char_set: CharacterSet,
char_set: CharacterSet,
/// True to pad output with `=` characters
priv pad: bool,
pad: bool,
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
priv line_length: Option<uint>
line_length: Option<uint>
}
/// Configuration for RFC 4648 standard base64 encoding