2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-18 14:26:45 +00:00

Merge pull request #1088 from jayvdb/fix-rustdoc-lints

This commit is contained in:
Marc-Antoine Perennou 2024-09-11 00:03:52 +02:00 committed by GitHub
commit 340933b776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 9 deletions

View file

@ -1,3 +1,4 @@
#![allow(rustdoc::invalid_html_tags)]
//! # Async version of the Rust standard library
//!
//! `async-std` is a foundation of portable Rust software, a set of minimal and battle-tested

View file

@ -19,11 +19,9 @@ use crate::task::Builder;
/// ```no_run
/// use async_std::task;
///
/// fn main() {
/// task::block_on(async {
/// println!("Hello, world!");
/// })
/// }
/// ```
#[cfg(not(target_os = "unknown"))]
pub fn block_on<F, T>(future: F) -> T