message: Fix Function::ty
diff: @@ -310,8 +310,8 @@ impl Function {
  /// assert_eq!(f.ty().params(), vec![Type::I32, Type::I32]);
  /// assert_eq!(f.ty().results(), vec![Type::I32]);
  /// ```
  - pub fn ty<'context>(&self, store: &'context impl AsStoreRef) -> &'context FunctionType {
  - &self.handle.get(store.as_store_ref().objects()).ty
  + pub fn ty(&self, store: &impl AsStoreRef) -> FunctionType {
  + &self.handle.get(store.as_store_ref().objects()).ty.clone()
  }
  /// Returns the number of parameters that this function takes.
  