Use `pub(crate)` visibility for internal Response

This commit is contained in:
Yong Wen Chua 2017-11-06 10:57:25 +08:00
parent cc871967df
commit 44211b27d8
1 changed files with 1 additions and 2 deletions

View File

@ -1171,9 +1171,8 @@ impl Cors {
/// - `Vary`
///
/// You can get this struct by using `Cors::validate_request` in an ad-hoc manner.
#[doc(hidden)]
#[derive(Eq, PartialEq, Debug)]
pub struct Response {
pub(crate) struct Response {
allow_origin: Option<AllOrSome<Url>>,
allow_methods: HashSet<Method>,
allow_headers: HeaderFieldNamesSet,