mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Explain evil
This commit is contained in:
parent
a2e90c3709
commit
54f4a70a0b
1 changed files with 2 additions and 1 deletions
|
@ -620,8 +620,9 @@ impl Types {
|
|||
}
|
||||
|
||||
#[allow(clippy::wrong_self_convention)]
|
||||
pub fn from_old_type_slice<'a, B>(
|
||||
pub fn from_old_type_slice<B>(
|
||||
&mut self,
|
||||
// evil, but allows us to emulate reference-polymorphism
|
||||
old: impl ExactSizeIterator<Item = B>,
|
||||
) -> Slice<TypeTag>
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue