Skip to content

Commit

Permalink
Merge pull request #188 from mordak/clippy_lines
Browse files Browse the repository at this point in the history
Remove redundant slice.
  • Loading branch information
jonhoo authored Apr 1, 2021
2 parents 39a78fd + 35ddb48 commit cf658df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ pub fn parse_ids(
lines: &[u8],
unsolicited: &mut mpsc::Sender<UnsolicitedResponse>,
) -> Result<HashSet<u32>> {
let mut lines = &lines[..];
let mut lines = lines;
let mut ids = HashSet::new();
loop {
if lines.is_empty() {
Expand Down

0 comments on commit cf658df

Please sign in to comment.