mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
Merge pull request #478 from fzgregor/master
Made extensions constructor public
This commit is contained in:
commit
f39b520a2d
@ -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(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user