Changed minimum required rustc version from 1.2 to 1.3.
[rust-101.git] / workspace / src / part03.rs
index e3f16aea0d746d0ace460a7afa8daea2484df89a..384015681130ec3ecfce3eace2f7613484a61b4b 100644 (file)
@@ -57,7 +57,7 @@ pub fn main() {
 // Notice that I called the function on `SomethingOrNothing` `print2` to disambiguate from the `print` defined previously.
 // 
 // *Hint*: There is a macro `print!` for printing without appending a newline.
-trait Print {
+pub trait Print {
     /* Add things here */
 }
 impl<T: Print> SomethingOrNothing<T> {