Skip to content

Commit

Permalink
Fix an import alias
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Sep 29, 2024
1 parent 3a04b86 commit a9ff342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flutter_package/example/native/hub/src/common.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// `tokio_with_wasm` enables `tokio` code
// to run directly on the web.
use tokio_with_wasm::alias as tokio;
pub use tokio_with_wasm::alias as tokio;

/// This `Result` type alias unifies the error type.
/// Building an app differs from writing a library,
Expand Down
1 change: 1 addition & 0 deletions flutter_package/example/native/hub/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mod messages;
mod sample_functions;

use common::*;
use tokio_with_wasm::alias as tokio;

rinf::write_interface!();

Expand Down

0 comments on commit a9ff342

Please sign in to comment.