Skip to content

Commit

Permalink
feat: Fix the sync.rs doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Sep 5, 2024
1 parent 3376c19 commit db9a01f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//! This api allows use of mnn in a thread-safe manner
//! # Example
//! ```rust,no_run
//! use mnn::sync::*;
//! use mnn::*;
//! let interpreter = Interpreter::from_bytes([0; 100]).expect("Failed to create interpreter");
//! let config = ScheduleConfig::new();
//! let session_handle = SessionHandle::new(interpreter, config).expect("Failed to create session handle");
Expand Down

0 comments on commit db9a01f

Please sign in to comment.