fix warnings when compiling with rust 1.7
[rust-101.git] / src / part03.rs
index 513148b9147265068c8fe78c95b4d079a206e685..3a35aa7057a40bdf496775aad6972996b37d4041 100644 (file)
@@ -104,7 +104,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> {