Remove redundant slice.
Thanks clippy.
This commit is contained in:
parent
39a78fdea4
commit
35ddb48d3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue