1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

prepare actix-http release

This commit is contained in:
Nikolay Kim
2019-05-04 19:51:00 -07:00
parent fa78da8156
commit 3d1af19080
3 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@ impl NamedFile {
/// let mut file = File::create("foo.txt")?;
/// file.write_all(b"Hello, world!")?;
/// let named_file = NamedFile::from_file(file, "bar.txt")?;
/// # std::fs::remove_file("foo.txt");
/// Ok(())
/// }
/// ```