Merge pull request #4477 from jld/char-repr

Reflect on char as u32, not uint (which may be u64).
This commit is contained in:
Brian Anderson 2013-01-14 13:39:29 -08:00
commit 0e8490757f

View File

@ -286,7 +286,7 @@ fn visit_float() -> bool { self.write::<float>() }
fn visit_f32() -> bool { self.write::<f32>() }
fn visit_f64() -> bool { self.write::<f64>() }
fn visit_char() -> bool { self.write::<uint>() }
fn visit_char() -> bool { self.write::<u32>() }
// Type no longer exists, vestigial function.
fn visit_str() -> bool { fail; }