mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
#[must_use] all the things! (#1809)
This commit is contained in:
@@ -30,6 +30,7 @@ use serde::Serialize;
|
||||
/// ```
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "erased-json")))]
|
||||
#[derive(Debug)]
|
||||
#[must_use]
|
||||
pub struct ErasedJson(serde_json::Result<Bytes>);
|
||||
|
||||
impl ErasedJson {
|
||||
|
||||
Reference in New Issue
Block a user