From 0d7013d69f5e1f425b4f977781ad08e83d48260a Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Thu, 3 May 2018 22:42:43 -0500 Subject: [PATCH] make types public --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 709060b..0931f8d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -78,11 +78,11 @@ impl Dogs { } } -type Breed = String; -type Image = String; -type Images = Vec; -type Subbreeds = Vec; -type Breeds = HashMap; +pub type Breed = String; +pub type Image = String; +pub type Images = Vec; +pub type Subbreeds = Vec; +pub type Breeds = HashMap; #[derive(Debug, Error)] pub enum Error {