1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

Merge pull request #478 from fzgregor/master

Made extensions constructor public
This commit is contained in:
Nikolay Kim 2018-08-23 09:34:47 -07:00 committed by GitHub
commit f39b520a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ pub struct Extensions {
impl Extensions { impl Extensions {
/// Create an empty `Extensions`. /// Create an empty `Extensions`.
#[inline] #[inline]
pub(crate) fn new() -> Extensions { pub fn new() -> Extensions {
Extensions { Extensions {
map: HashMap::default(), map: HashMap::default(),
} }