Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
unexge committed Oct 3, 2022
1 parent 8c474df commit 7641106
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rust-runtime/aws-smithy-http-server-python/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,16 +374,13 @@ event_loop.add_signal_handler(signal.SIGINT,
/// #[derive(Debug, Clone)]
/// pub struct App {};
///
/// impl App {
/// pub fn build_router(&mut self, event_loop: &PyAny) -> PyResult<aws_smithy_http_server::routing::Router> { todo!() }
/// }
///
/// impl PyApp for App {
/// fn workers(&self) -> &Mutex<Vec<PyObject>> { todo!() }
/// fn context(&self) -> &Option<PyObject> { todo!() }
/// fn handlers(&mut self) -> &mut HashMap<String, PyHandler> { todo!() }
/// fn middlewares(&mut self) -> &mut PyMiddlewares { todo!() }
/// fn protocol(&self) -> &'static str { "proto1" }
/// fn build_router(&mut self, event_loop: &PyAny) -> PyResult<aws_smithy_http_server::routing::Router> { todo!() }
/// }
///
/// #[pymethods]
Expand Down

0 comments on commit 7641106

Please sign in to comment.