Unverified Commit c3a85c06 authored by jthomson04's avatar jthomson04 Committed by GitHub
Browse files

chore: Fix failing doctests (#1610)

parent 16389141
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
//! //!
//! ## Usage Example //! ## Usage Example
//! //!
//! ```rust //! ```rust,ignore
//! use std::collections::HashMap; //! use std::collections::HashMap;
//! use std::sync::Arc; //! use std::sync::Arc;
//! use crate::engine::{AsyncEngine, AsAnyAsyncEngine, DowncastAnyAsyncEngine}; //! use crate::engine::{AsyncEngine, AsAnyAsyncEngine, DowncastAnyAsyncEngine};
...@@ -350,7 +350,7 @@ where ...@@ -350,7 +350,7 @@ where
/// enabling ergonomic type erasure without explicit wrapper construction. /// enabling ergonomic type erasure without explicit wrapper construction.
/// ///
/// ## Usage /// ## Usage
/// ```rust /// ```rust,ignore
/// use crate::engine::AsAnyAsyncEngine; /// use crate::engine::AsAnyAsyncEngine;
/// ///
/// let typed_engine: Arc<dyn AsyncEngine<String, String, ()>> = Arc::new(MyEngine::new()); /// let typed_engine: Arc<dyn AsyncEngine<String, String, ()>> = Arc::new(MyEngine::new());
...@@ -385,7 +385,7 @@ where ...@@ -385,7 +385,7 @@ where
/// It will only succeed if the type parameters exactly match the original engine's types. /// It will only succeed if the type parameters exactly match the original engine's types.
/// ///
/// ## Usage /// ## Usage
/// ```rust /// ```rust,ignore
/// use crate::engine::DowncastAnyAsyncEngine; /// use crate::engine::DowncastAnyAsyncEngine;
/// ///
/// let any_engine: Arc<dyn AnyAsyncEngine> = // ... from collection /// let any_engine: Arc<dyn AnyAsyncEngine> = // ... from collection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment