Skip to content

Commit

Permalink
update ReadSeeker doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Aug 29, 2023
1 parent 822629b commit bd1e3a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/core/src/writing/seek.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ use crate::{async_trait, Depot, Writer};
/// let length = file.metadata().await.unwrap().len();
/// ReadSeeker::new(file, length).send(req.headers(), res).await;
/// }
///
/// #[tokio::main]
/// async fn main() {
/// let router = Router::new().path("/video_stream.mp4").get(video_stream);
/// let acceptor = TcpListener::new("0.0.0.0:4000").bind().await;
/// Server::new(acceptor).serve(router).await;
/// }
/// ```
#[derive(Debug)]
pub struct ReadSeeker<R> {
Expand Down

0 comments on commit bd1e3a9

Please sign in to comment.