1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-26 23:24:47 +02:00

dispatcher internals testing (#1840)

This commit is contained in:
Rob Ede
2020-12-23 01:28:17 +00:00
committed by GitHub
parent 05f104c240
commit 2a7f2c1d59
8 changed files with 519 additions and 58 deletions

View File

@@ -3,8 +3,8 @@ use std::{fmt, mem};
use fxhash::FxHashMap;
#[derive(Default)]
/// A type map of request extensions.
#[derive(Default)]
pub struct Extensions {
/// Use FxHasher with a std HashMap with for faster
/// lookups on the small `TypeId` (u64 equivalent) keys.