Skip to content

Commit 9762698

Browse files
committed
Make base64::config fields public again
These got swept up in the great privatizing of 2013.
1 parent 1b12dca commit 9762698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libextra/base64.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ pub enum CharacterSet {
2222
/// Contains configuration parameters for `to_base64`.
2323
pub struct Config {
2424
/// Character set to use
25-
priv char_set: CharacterSet,
25+
char_set: CharacterSet,
2626
/// True to pad output with `=` characters
27-
priv pad: bool,
27+
pad: bool,
2828
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
29-
priv line_length: Option<uint>
29+
line_length: Option<uint>
3030
}
3131

3232
/// Configuration for RFC 4648 standard base64 encoding

0 commit comments

Comments
 (0)