diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-17 10:05:34 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-17 10:12:23 -0700 |
| commit | 0adb41d0eb44ef74e897c22d9f1fcd8f97ef3458 (patch) | |
| tree | 1990262f9ea32e2361cd4a5c909a021e32f97528 /src/libstd/fmt/mod.rs | |
| parent | 2cb96a4eaf55cdf7f08e3493cf2953278b8acc43 (diff) | |
Register new snapshots
Diffstat (limited to 'src/libstd/fmt/mod.rs')
| -rw-r--r-- | src/libstd/fmt/mod.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index 4032515f985..383130cda37 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -673,24 +673,6 @@ impl<'self> Formatter<'self> { } } - #[cfg(stage0)] - fn getcount(&mut self, cnt: &parse::Count) -> Option<uint> { - match *cnt { - parse::CountIs(n) => { Some(n) } - parse::CountImplied => { None } - parse::CountIsParam(i) => { - let v = self.args[i].value; - unsafe { Some(*(v as *util::Void as *uint)) } - } - parse::CountIsNextParam => { - let v = self.curarg.next().unwrap().value; - unsafe { Some(*(v as *util::Void as *uint)) } - } - parse::CountIsName(*) => unreachable!() - } - } - - #[cfg(not(stage0))] fn getcount(&mut self, cnt: &rt::Count) -> Option<uint> { match *cnt { rt::CountIs(n) => { Some(n) } |
