Skip to content

Commit b62ee56

Browse files
committed
thanks clippy
1 parent 3fa52f8 commit b62ee56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-refspec/src/parse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub(crate) mod function {
108108
}
109109
if glob_count == 1 {
110110
let mut buf = smallvec::SmallVec::<[u8; 256]>::with_capacity(spec.len());
111-
buf.extend_from_slice(&spec);
111+
buf.extend_from_slice(spec);
112112
let glob_pos = buf.find_byte(b'*').expect("glob present");
113113
buf[glob_pos] = b'a';
114114
git_validate::reference::name_partial(buf.as_bstr())?;

0 commit comments

Comments
 (0)