Remove no-longer-necessary ReferenceCount uses in wasm

This commit is contained in:
Richard Feldman 2022-05-26 11:18:06 -04:00
parent d9b8cec74d
commit 1ef5d785c0
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
3 changed files with 5 additions and 6 deletions

View file

@ -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;
}