Use cx.access_levels.exported() instead of visibility

This commit is contained in:
sinkuu 2017-10-17 21:12:31 +09:00
parent 31f16b87b7
commit a4f45e85b1
2 changed files with 9 additions and 12 deletions

View file

@ -4,7 +4,7 @@ use std::collections::{HashMap, HashSet};
use std::cmp::Eq;
use std::hash::{Hash, BuildHasher};
trait Foo<T>: Sized {
pub trait Foo<T>: Sized {
fn make() -> (Self, Self);
}