Skip to content

Commit

Permalink
msrv: avoid impl From<[_; N]> for Vec<_>
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrmaxmeier committed Jun 27, 2024
1 parent 54970a5 commit c5062fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/write/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ mod tests {
[0; 16]
},
source: (encoding.version >= 5)
.then(|| LineString::String(b"the source code\n".into())),
.then(|| LineString::String(b"the source code\n".to_vec())),
};
let file_id =
program.add_file(file2.clone(), dir_id, Some(file_info.clone()));
Expand Down

0 comments on commit c5062fd

Please sign in to comment.