mirror of
https://github.com/actix/actix-web.git
synced 2024-11-27 03:51:10 +00:00
Merge pull request #478 from fzgregor/master
Made extensions constructor public
This commit is contained in:
commit
f39b520a2d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ pub struct Extensions {
|
|||
impl Extensions {
|
||||
/// Create an empty `Extensions`.
|
||||
#[inline]
|
||||
pub(crate) fn new() -> Extensions {
|
||||
pub fn new() -> Extensions {
|
||||
Extensions {
|
||||
map: HashMap::default(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue