diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-03-25 02:49:42 +0100 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-03-26 14:59:17 +0100 |
| commit | c99488b3a4045171e36bcd2a89e742ac06d3ba72 (patch) | |
| tree | 7da1c58ce85a16efe9f0198702ae79f171e8d076 /src/libstd | |
| parent | b9de2b5787440bbb196fd38223ef4a6a6f196f83 (diff) | |
| download | rust-c99488b3a4045171e36bcd2a89e742ac06d3ba72.tar.gz rust-c99488b3a4045171e36bcd2a89e742ac06d3ba72.zip | |
Isolated bug, static vector seems to behave differently than fixed sized one
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/base64.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/base64.rs b/src/libstd/base64.rs index b11ad7052b9..02858de9b34 100644 --- a/src/libstd/base64.rs +++ b/src/libstd/base64.rs @@ -16,7 +16,7 @@ pub trait ToBase64 { fn to_base64(&self) -> ~str; } -static CHARS: &'static[char] = &[ +static CHARS: [char * 64] = [ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', |
