Skip to content

Commit

Permalink
Fix deprecated use of ~
Browse files Browse the repository at this point in the history
  • Loading branch information
mcreinhard committed Jun 10, 2014
1 parent 9bb8f88 commit a0eca23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/tutorial.md
Expand Up @@ -2459,7 +2459,7 @@ fn draw_all(shapes: &[Box<Drawable>]) {
}
~~~~

In this example, there is no type parameter. Instead, the `~Drawable`
In this example, there is no type parameter. Instead, the `Box<Drawable>`
type denotes any owned box value that implements the `Drawable` trait.
To construct such a value, you use the `as` operator to cast a value
to an object:
Expand Down

5 comments on commit a0eca23

@bors
Copy link
Contributor

@bors bors commented on a0eca23 Jun 12, 2014

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 a0eca23 Jun 12, 2014

Choose a reason for hiding this comment

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

merging mcreinhard/rust/tilde-fix = a0eca23 into auto

@bors
Copy link
Contributor

@bors bors commented on a0eca23 Jun 12, 2014

Choose a reason for hiding this comment

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

mcreinhard/rust/tilde-fix = a0eca23 merged ok, testing candidate = fce98e5

@bors
Copy link
Contributor

@bors bors commented on a0eca23 Jun 12, 2014

Choose a reason for hiding this comment

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

fast-forwarding master to auto = fce98e5

Please sign in to comment.