refactor(lib): resolve unused warnings from server-specific code (#2710)

This commit is contained in:
Sean McArthur
2021-11-30 10:26:20 -08:00
committed by GitHub
parent 7435cc3399
commit ce8242571f
5 changed files with 8 additions and 4 deletions

View File

@@ -71,6 +71,7 @@ pub(super) enum Parse {
#[cfg(feature = "http1")]
VersionH2,
Uri,
#[cfg_attr(not(all(feature = "http1", feature = "server")), allow(unused))]
UriTooLong,
Header(Header),
TooLarge,