mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-19 06:04:40 +01:00
Made extensions constructor public
This commit is contained in:
parent
56bc900a82
commit
e680541e10
@ -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…
x
Reference in New Issue
Block a user