mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
Made extensions constructor public
This commit is contained in:
@ -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(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user