diff --git a/src/response.rs b/src/response.rs index 2078dbf..5db1321 100644 --- a/src/response.rs +++ b/src/response.rs @@ -625,8 +625,8 @@ impl IntoResponse for heapless::String { } } -#[cfg(feature = "std")] -impl IntoResponse for std::string::String { +#[cfg(feature = "alloc")] +impl IntoResponse for alloc::string::String { async fn write_to>( self, connection: Connection<'_, R>,