mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-28 00:42:56 +00:00
fix: remove unnecessary braces around block return value (#1147)
This commit is contained in:
@@ -122,7 +122,7 @@ mod tests {
|
||||
#[tokio::test]
|
||||
pub async fn test_entry_stream() {
|
||||
let stream =
|
||||
async_stream::stream!({ yield Ok(vec![SimpleEntry::new("test_entry".as_bytes())]) });
|
||||
async_stream::stream!(yield Ok(vec![SimpleEntry::new("test_entry".as_bytes())]));
|
||||
|
||||
let mut stream_impl = EntryStreamImpl {
|
||||
inner: Box::pin(stream),
|
||||
|
||||
Reference in New Issue
Block a user