Skip to content

Commit db9a01f

Browse files
committed
feat: Fix the sync.rs doc example
1 parent 3376c19 commit db9a01f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sync.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//! This api allows use of mnn in a thread-safe manner
33
//! # Example
44
//! ```rust,no_run
5+
//! use mnn::sync::*;
6+
//! use mnn::*;
57
//! let interpreter = Interpreter::from_bytes([0; 100]).expect("Failed to create interpreter");
68
//! let config = ScheduleConfig::new();
79
//! let session_handle = SessionHandle::new(interpreter, config).expect("Failed to create session handle");

0 commit comments

Comments
 (0)