File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,10 @@ impl ManualTrigger {
369369 /// .await
370370 /// .unwrap();
371371 ///
372+ /// let mut lmr = rdma.alloc_local_mr(Layout::new::<[u8; 8]>())?;
373+ /// let _num = lmr.as_mut_slice().write(&[1_u8; 8])?;
374+ /// let instant = Instant::now();
375+ ///
372376 /// let trigger = rdma.get_manual_trigger().unwrap();
373377 /// // polling task
374378 /// let _trigger_handle = tokio::spawn(async move {
@@ -378,9 +382,6 @@ impl ManualTrigger {
378382 /// }
379383 /// });
380384 ///
381- /// let mut lmr = rdma.alloc_local_mr(Layout::new::<[u8; 8]>())?;
382- /// let _num = lmr.as_mut_slice().write(&[1_u8; 8])?;
383- /// let instant = Instant::now();
384385 /// rdma.send(&lmr).await?;
385386 /// assert!(instant.elapsed() >= POLLING_INTERVAL);
386387 /// Ok(())
You can’t perform that action at this time.
0 commit comments