Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: refactor all body.copy_to_bytes(body.remaining()) #5561

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Jan 17, 2025

also fix to clippy warning
and drop some unused import.

Which issue does this PR close?

Closes #. comments from #5554

Rationale for this change

comments from #5554

What changes are included in this PR?

body.copy_to_bytes(body.remaining()) -> body.to_bytes()

Are there any user-facing changes?

also fix to clippy warning

Signed-off-by: yihong0618 <[email protected]>
Co-authored-by: Xuanwo <[email protected]>
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this, most changes look good to me.

core/src/services/s3/backend.rs Outdated Show resolved Hide resolved
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @yihong0618 for taking care of this.

@Xuanwo Xuanwo merged commit 753d4a8 into apache:main Jan 17, 2025
243 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants