Skip to content

Commit f630663

Browse files
committed
Make ptr_arg clippy happy
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent c5779b6 commit f630663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ pub(crate) fn format_path_for_display(path: &str) -> String {
536536
}
537537
}
538538

539-
pub(crate) fn toolchain_sort<T: AsRef<str>>(v: &mut Vec<T>) {
539+
pub(crate) fn toolchain_sort<T: AsRef<str>>(v: &mut [T]) {
540540
use semver::{Identifier, Version};
541541

542542
fn special_version(ord: u64, s: &str) -> Version {

0 commit comments

Comments
 (0)