diff options
| author | bors <bors@rust-lang.org> | 2014-04-03 17:17:02 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-03 17:17:02 -0700 |
| commit | e7fe20722904cd2829a65f845ee7a1718cdf7292 (patch) | |
| tree | de906a26828f4a01fcdec0112047d16250d5c991 /src/libserialize | |
| parent | bb31cb8d2e4e415cbb71d368918d72902e655e01 (diff) | |
| parent | 487fa9568b69753fecb74a8460109239f4bf3631 (diff) | |
| download | rust-e7fe20722904cd2829a65f845ee7a1718cdf7292.tar.gz rust-e7fe20722904cd2829a65f845ee7a1718cdf7292.zip | |
auto merge of #13290 : alexcrichton/rust/rollup, r=alexcrichton
Closes #13285 (rustc: Stop using LLVMGetSectionName) Closes #13280 (std: override clone_from for Vec.) Closes #13277 (serialize: add a few missing pubs to base64) Closes #13275 (Add and remove some ignore-win32 flags) Closes #13273 (Removed managed boxes from libarena.) Closes #13270 (Minor copy-editing for the tutorial) Closes #13267 (fix Option<~ZeroSizeType>) Closes #13265 (Update emacs mode to support new `#![inner(attribute)]` syntax.) Closes #13263 (syntax: Remove AbiSet, use one Abi)
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/base64.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserialize/base64.rs b/src/libserialize/base64.rs index 6aad2f5abbf..13e4a010a5e 100644 --- a/src/libserialize/base64.rs +++ b/src/libserialize/base64.rs @@ -23,11 +23,11 @@ pub enum CharacterSet { /// Contains configuration parameters for `to_base64`. pub struct Config { /// Character set to use - char_set: CharacterSet, + pub char_set: CharacterSet, /// True to pad output with `=` characters - pad: bool, + pub pad: bool, /// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping - line_length: Option<uint> + pub line_length: Option<uint> } /// Configuration for RFC 4648 standard base64 encoding |
