mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-17 01:28:44 +00:00
doc(deprecated) Fix typo + simplify the review.
This commit is contained in:
@@ -2,5 +2,5 @@ struct Exports {}
|
||||
|
||||
impl Exports {
|
||||
fn new() -> Self;
|
||||
fn get<'a, T>(&'a self, name: &str) -> Result<T, ExportError>;
|
||||
fn get<'a, T: Exportable<'a> + Clone + 'a>(&'a self, name: &str) -> Result<T, ExportError>;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
struct Pages(pub u32);
|
||||
|
||||
impl Pages {
|
||||
fn checked_add(self, rhs: Pages) -> Result<Pages, PageError>;
|
||||
fn checked_add(self, rhs: Self) -> Result<Pages, PageError>;
|
||||
fn bytes(self) -> Bytes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user