1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-20 16:41:05 +00:00

Made extensions constructor public

This commit is contained in:
Franz Gregor 2018-08-18 19:32:28 +02:00
parent 56bc900a82
commit e680541e10

View file

@ -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(),
}