Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Make DebugMethods pure; fix uses in flow and box (somewhat barbarical…
…ly).
- Loading branch information
Brian J. Burg
committed
Nov 19, 2012
1 parent
ec60c58
commit d65140f
Showing
4 changed files
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
trait BoxedDebugMethods { | ||
fn dump(@self); | ||
fn dump_indent(@self, ident: uint); | ||
fn debug_str(@self) -> ~str; | ||
pure fn dump(@self); | ||
pure fn dump_indent(@self, ident: uint); | ||
pure fn debug_str(@self) -> ~str; | ||
} | ||
|
||
trait DebugMethods { | ||
fn dump(&self); | ||
fn dump_indent(&self, ident: uint); | ||
fn debug_str(&self) -> ~str; | ||
pure fn dump(&self); | ||
pure fn dump_indent(&self, ident: uint); | ||
pure fn debug_str(&self) -> ~str; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters