Skip to content

Commit

Permalink
[CI] fix wasmedge-sdk clippy
Browse files Browse the repository at this point in the history
Signed-off-by: csh <[email protected]>
  • Loading branch information
L-jasmine committed Dec 2, 2024
1 parent d265266 commit c8df891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub struct ImportType<'module> {
inner: sys::ImportType<'module>,
_marker: PhantomData<&'module Module>,
}
impl<'module> ImportType<'module> {
impl ImportType<'_> {
/// Returns the imported name of the WasmEdge instance.
pub fn name(&self) -> Cow<'_, str> {
self.inner.name()
Expand All @@ -146,7 +146,7 @@ pub struct ExportType<'module> {
inner: sys::ExportType<'module>,
_marker: PhantomData<&'module Module>,
}
impl<'module> ExportType<'module> {
impl ExportType<'_> {
/// Returns the exported name of the WasmEdge instance.
pub fn name(&self) -> Cow<'_, str> {
self.inner.name()
Expand Down

0 comments on commit c8df891

Please sign in to comment.