Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Nelson committed Dec 8, 2024
1 parent 925d910 commit 9975e45
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions native/wasmex/src/wit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ use rustler::{NifResult, Term};
use wit_parser::{Resolve, WorldItem};

#[rustler::nif(name = "wit_exported_functions")]
pub fn exported_functions(
env: rustler::Env,
path: String,
wit: String,
) -> NifResult<Term> {
pub fn exported_functions(env: rustler::Env, path: String, wit: String) -> NifResult<Term> {
let mut resolve = Resolve::new();
let id = resolve.push_str(path, &wit).unwrap();
let world_id = resolve.select_world(id, None).unwrap();
Expand Down

0 comments on commit 9975e45

Please sign in to comment.