tutorial: Put class warning in a blockquote
Style it like other such asides
This commit is contained in:
parent
dbc47176ac
commit
de1de68b82
@ -1797,8 +1797,8 @@ fn contains(v: ~[int], elt: int) -> bool {
|
|||||||
Rust lets users define new types with fields and methods, called 'classes', in
|
Rust lets users define new types with fields and methods, called 'classes', in
|
||||||
the style of object-oriented languages.
|
the style of object-oriented languages.
|
||||||
|
|
||||||
(Warning: Rust's classes are in the process of changing rapidly. Some more
|
> ***Warning:*** Rust's classes are in the process of changing rapidly. Some more
|
||||||
information about some of the potential changes is [here][classchanges].)
|
> information about some of the potential changes is [here][classchanges].
|
||||||
|
|
||||||
[classchanges]: http://pcwalton.github.com/blog/2012/06/03/maximally-minimal-classes-for-rust/
|
[classchanges]: http://pcwalton.github.com/blog/2012/06/03/maximally-minimal-classes-for-rust/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user