Revert visibility change in ContentType constructor.

This commit is contained in:
Sergio Benitez 2016-09-30 20:10:49 -07:00
parent 57f79ca867
commit 9e402dfd07
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ use router::Collider;
/// ([from_str](#method.from_str)) and to return the ContentType associated with /// ([from_str](#method.from_str)) and to return the ContentType associated with
/// a file extension ([from_ext](#method.from_extension)). /// a file extension ([from_ext](#method.from_extension)).
#[derive(Debug, Clone, PartialEq)] #[derive(Debug, Clone, PartialEq)]
pub struct ContentType(pub TopLevel, pub SubLevel, Option<Vec<Param>>); pub struct ContentType(pub TopLevel, pub SubLevel, pub Option<Vec<Param>>);
macro_rules! is_some { macro_rules! is_some {
($ct:ident, $name:ident: $top:ident/$sub:ident) => { ($ct:ident, $name:ident: $top:ident/$sub:ident) => {