mirror of https://github.com/rwf2/Rocket.git
Revert visibility change in ContentType constructor.
This commit is contained in:
parent
57f79ca867
commit
9e402dfd07
|
@ -16,7 +16,7 @@ use router::Collider;
|
|||
/// ([from_str](#method.from_str)) and to return the ContentType associated with
|
||||
/// a file extension ([from_ext](#method.from_extension)).
|
||||
#[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 {
|
||||
($ct:ident, $name:ident: $top:ident/$sub:ident) => {
|
||||
|
|
Loading…
Reference in New Issue