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

Fix: Use &[T] instead of &Vec<T> wherever possible #2594

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Fix: Use &[T] instead of &Vec<T> wherever possible #2594

merged 1 commit into from
Aug 23, 2023

Conversation

Uzaaft
Copy link
Contributor

@Uzaaft Uzaaft commented Aug 21, 2023

Found a few places where &Vec<T> is used and could be swapped with &[T].

@oli-obk
Copy link
Member

oli-obk commented Aug 21, 2023

I think there's a clippy lint for that. Maybe we need to activate it manually?

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit e797c90 into serde-rs:master Aug 23, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants