mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-11-26 00:51:00 +00:00
remove Copy
trait from Lines
Copy should not be implemented for types that implement Iterator, because this would be confusing. https://rust-lang.github.io/rust-clippy/master/#copy_iterator
This commit is contained in:
parent
2471737455
commit
aae3809545
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use std::str::FromStr;
|
||||||
use crate::tags;
|
use crate::tags;
|
||||||
use crate::Error;
|
use crate::Error;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Ord, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, PartialOrd, Ord, Eq, Hash)]
|
||||||
pub(crate) struct Lines<'a> {
|
pub(crate) struct Lines<'a> {
|
||||||
buffer: &'a str,
|
buffer: &'a str,
|
||||||
// the line at which the iterator currently is
|
// the line at which the iterator currently is
|
||||||
|
|
Loading…
Reference in a new issue