style: return directly

pull/24376/head
Dom Dwyer 2022-02-02 15:20:48 +00:00
parent 4744c5804e
commit 26c033d529
1 changed files with 1 additions and 3 deletions

View File

@ -186,9 +186,7 @@ where
self.inner
.write(namespace, batches, span_ctx)
.await
.map_err(|e| SchemaError::Inner(Box::new(e.into())))?;
Ok(())
.map_err(|e| SchemaError::Inner(Box::new(e.into())))
}
/// This call is passed through to `D` - no schema validation is performed