zjregee commented on code in PR #4482:
URL: https://github.com/apache/opendal/pull/4482#discussion_r1565127507
##########
core/src/layers/complete.rs:
##########
@@ -806,7 +806,7 @@ mod tests {
#[tokio::test]
async fn test_writer() {
let op = new_test_operator(Capability::default());
- let res = op.write("path", vec![]).await;
+ let res = op.write("path", Vec::<u8>::new()).await;
Review Comment:
This should be necessary because we have implemented conversion from Vec<u8>
and Vec<Bytes> for Buffer. If we directly vec![], the compiler cannot determine
which one it is and will report an error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]