diff --git a/poem-openapi/src/types/string_types.rs b/poem-openapi/src/types/string_types.rs index 436d29dc39..9c12e974dc 100644 --- a/poem-openapi/src/types/string_types.rs +++ b/poem-openapi/src/types/string_types.rs @@ -126,7 +126,7 @@ impl_string_types!( #[cfg(feature = "hostname")] impl_string_types!( - /// A email address type. + /// A hostname type. #[cfg_attr(docsrs, doc(cfg(feature = "hostname")))] Hostname, "string",