(&self)
| 77 | |
| 78 | impl CheckDupLevelParams for Vec<Name> { |
| 79 | fn has_duplicate_level_params(&self) -> bool { |
| 80 | for (i, p) in self.iter().enumerate() { |
| 81 | if self[i + 1..].contains(p) { |
| 82 | return true; |
| 83 | } |
| 84 | } |
| 85 | false |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | impl CheckDupLevelParams for () { |
no test coverage detected