We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa52f8 commit b62ee56Copy full SHA for b62ee56
git-refspec/src/parse.rs
@@ -108,7 +108,7 @@ pub(crate) mod function {
108
}
109
if glob_count == 1 {
110
let mut buf = smallvec::SmallVec::<[u8; 256]>::with_capacity(spec.len());
111
- buf.extend_from_slice(&spec);
+ buf.extend_from_slice(spec);
112
let glob_pos = buf.find_byte(b'*').expect("glob present");
113
buf[glob_pos] = b'a';
114
git_validate::reference::name_partial(buf.as_bstr())?;
0 commit comments