Browse Source

make types public

master
Adrian Malacoda 2 years ago
parent
commit
0d7013d69f
1 changed files with 5 additions and 5 deletions
  1. 10
      src/lib.rs

10
src/lib.rs

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

Loading…
Cancel
Save