Skip to content

Commit 6e9e211

Browse files
docs(pre-compute): fix example in method Rustdoc
1 parent 7c41a78 commit 6e9e211

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pre-compute/src/compute/pre_compute_app.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ impl PreComputeAppTrait for PreComputeApp {
6565
/// # Example
6666
///
6767
/// ```rust
68+
/// use tee_worker_pre_compute::compute::pre_compute_app::{PreComputeApp, PreComputeAppTrait};
69+
///
6870
/// let mut app = PreComputeApp::new("task_id".to_string());
69-
/// app.run()?;
71+
/// app.run();
7072
/// ```
7173
fn run(&mut self) -> Result<(), ReplicateStatusCause> {
7274
self.pre_compute_args = PreComputeArgs::read_args()?;

0 commit comments

Comments
 (0)