make types public

This commit is contained in:
Adrian Malacoda 2018-05-03 22:42:43 -05:00
parent 14f905bc4a
commit 0d7013d69f

View File

@ -78,11 +78,11 @@ impl Dogs {
} }
} }
type Breed = String; pub type Breed = String;
type Image = String; pub type Image = String;
type Images = Vec<Image>; pub type Images = Vec<Image>;
type Subbreeds = Vec<String>; pub type Subbreeds = Vec<String>;
type Breeds = HashMap<Breed, Subbreeds>; pub type Breeds = HashMap<Breed, Subbreeds>;
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum Error { pub enum Error {