mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: make block field private (#13628)
This commit is contained in:
@ -40,7 +40,7 @@ where
|
||||
/// Return the reference to the response body
|
||||
pub fn into_body(self) -> Option<B> {
|
||||
match self {
|
||||
Self::Full(block) => Some(block.body),
|
||||
Self::Full(block) => Some(block.into_body()),
|
||||
Self::Empty(_) => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user