diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-04 16:01:26 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-04 16:01:26 -0800 |
| commit | 89acd1f57f6c0df96a2ebf652561eb786f28664d (patch) | |
| tree | 03cc4110d2c3073c62652154b8abcb5a2d9ba662 /src/libsyntax/parse | |
| parent | 4d8cc3f0036a5060bc7044892d891fb81afa00f7 (diff) | |
| download | rust-89acd1f57f6c0df96a2ebf652561eb786f28664d.tar.gz rust-89acd1f57f6c0df96a2ebf652561eb786f28664d.zip | |
Rename option::get_default => get_or_default, get_zero => get_or_zero
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 0cd3ef0ee73..d5365d59041 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -83,7 +83,7 @@ fn strip_doc_comment_decoration(comment: ~str) -> ~str { // drop leftmost columns that contain only values in chars fn block_trim(lines: ~[~str], chars: ~str, max: Option<uint>) -> ~[~str] { - let mut i = max.get_default(uint::max_value); + let mut i = max.get_or_default(uint::max_value); for lines.each |line| { if line.trim().is_empty() { loop; |
