diff options
| author | Brian Anderson <andersrb@gmail.com> | 2013-01-14 13:39:29 -0800 |
|---|---|---|
| committer | Brian Anderson <andersrb@gmail.com> | 2013-01-14 13:39:29 -0800 |
| commit | 0e8490757fb9dc55f521f9cfb0fd4fb05b0f6bf6 (patch) | |
| tree | 5f1f78d891cda0d67e79cd70f4d9c2f8f99effd3 | |
| parent | d4c9b9136099ca08c965751c4460e1ada3607407 (diff) | |
| parent | 0e1985eda6ee0f6b84ff5998e58164e1b25f0abf (diff) | |
| download | rust-0e8490757fb9dc55f521f9cfb0fd4fb05b0f6bf6.tar.gz rust-0e8490757fb9dc55f521f9cfb0fd4fb05b0f6bf6.zip | |
Merge pull request #4477 from jld/char-repr
Reflect on char as u32, not uint (which may be u64).
| -rw-r--r-- | src/libcore/repr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/repr.rs b/src/libcore/repr.rs index 1e6aa6324aa..c7a84ee9716 100644 --- a/src/libcore/repr.rs +++ b/src/libcore/repr.rs @@ -286,7 +286,7 @@ impl ReprVisitor : TyVisitor { 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; } |
