Skip to content

Commit

Permalink
Change pretty-exact to pp-exact
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed Feb 7, 2013
1 parent fa69739 commit 683e7a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/test/pretty/alt-naked-expr-long.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// pretty-exact
// pp-exact

// actually this doesn't quite look how I want it to, but I can't
// get the prettyprinter to indent the long expr
Expand All @@ -18,8 +18,8 @@ fn main() {
let y =
match x {
Some(_) =>
~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" +
~"very" + ~"very" + ~"very" + ~"long" + ~"string",
~"some" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very" + ~"very"
+ ~"very" + ~"very" + ~"long" + ~"string",
None => ~"none"
};
assert y == ~"some(_)";
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/alt-naked-expr-medium.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// pretty-exact
// pp-exact

fn main() {
let x = Some(3);
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/alt-naked-expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// pretty-exact
// pp-exact

fn main() {
let x = Some(3);
Expand Down
8 changes: 3 additions & 5 deletions src/test/pretty/do1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// pretty-exact
// pp-exact

fn f(f: fn@(int)) { f(10) }
fn f(f: @fn(int)) { f(10) }

fn main() {
do f |i| { assert i == 10 }
}
fn main() { do f |i| { assert i == 10 } }

5 comments on commit 683e7a4

@bors
Copy link
Contributor

@bors bors commented on 683e7a4 Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from graydon
at sanxiyn@683e7a4

@bors
Copy link
Contributor

@bors bors commented on 683e7a4 Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sanxiyn/rust/pretty-exact = 683e7a4 into auto

@bors
Copy link
Contributor

@bors bors commented on 683e7a4 Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sanxiyn/rust/pretty-exact = 683e7a4 merged ok, testing candidate = a281795

@bors
Copy link
Contributor

@bors bors commented on 683e7a4 Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 683e7a4 Feb 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = a281795

Please sign in to comment.