Skip to content

Commit

Permalink
Last? Hopefully?Azure#2
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryOsterman committed Jul 26, 2024
1 parent 1c302ba commit 5386a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/eventhubs/azure_messaging_eventhubs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ pub mod models {
}

pub fn body(&self) -> Option<&[u8]> {
self.body.as_deref().map(|b| b)
self.body.as_deref()
}

pub fn content_type(&self) -> Option<&str> {
Expand Down

0 comments on commit 5386a94

Please sign in to comment.