Merge pull request #4477 from jld/char-repr
Reflect on char as u32, not uint (which may be u64).
This commit is contained in:
commit
0e8490757f
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user