Skip to content

Commit 28e7174

Browse files
committed
economize one reference
1 parent 9770e08 commit 28e7174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mission.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub struct Missions {
206206
impl Missions {
207207
/// Constructor. We assume that at least one encoding exist.
208208
pub fn new(
209-
encodings: &Vec<String>,
209+
encodings: &[String],
210210
control_chars: &ControlChars,
211211
flag_bytes: Option<u8>,
212212
) -> Self {

0 commit comments

Comments
 (0)