mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
Remove no-longer-necessary ReferenceCount uses in wasm
This commit is contained in:
parent
d9b8cec74d
commit
1ef5d785c0
3 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
use roc_std::{ReferenceCount, RocDec, RocList, RocOrder, RocStr};
|
||||
use roc_std::{RocDec, RocList, RocOrder, RocStr};
|
||||
|
||||
pub trait Wasm32Sized: Sized {
|
||||
const SIZE_OF_WASM: usize;
|
||||
|
@ -35,7 +35,7 @@ impl Wasm32Sized for RocStr {
|
|||
const ALIGN_OF_WASM: usize = 4;
|
||||
}
|
||||
|
||||
impl<T: Wasm32Sized + ReferenceCount> Wasm32Sized for RocList<T> {
|
||||
impl<T: Wasm32Sized> Wasm32Sized for RocList<T> {
|
||||
const SIZE_OF_WASM: usize = 12;
|
||||
const ALIGN_OF_WASM: usize = 4;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue