2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-24 09:16:46 +00:00

chore: Fix rustdoc lints

This commit is contained in:
John Vandenberg 2024-09-08 10:04:38 +08:00
parent 2987d21562
commit 6fd127808d
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