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

fix negative impl assertion on 1.60+

see https://github.com/rust-lang/rust/issues/94791
This commit is contained in:
Rob Ede
2022-03-10 02:36:57 +00:00
parent 1fd90f0b10
commit 745e738955
3 changed files with 6 additions and 3 deletions

View File

@ -210,11 +210,10 @@ impl NamedFile {
Self::from_file(file, path)
}
#[allow(rustdoc::broken_intra_doc_links)]
/// Attempts to open a file asynchronously in read-only mode.
///
/// When the `experimental-io-uring` crate feature is enabled, this will be async.
/// Otherwise, it will be just like [`open`][Self::open].
/// When the `experimental-io-uring` crate feature is enabled, this will be async. Otherwise, it
/// will behave just like `open`.
///
/// # Examples
/// ```