Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::empty_line_after_doc_comments warning
``` error: empty line after doc comment --> src/runnable.rs:831:5 | 831 | / /// use async_task::{Runnable, spawn}; 832 | | | |_^ ... 845 | pub fn into_raw(self) -> NonNull<()> { | ------------------------------------ the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 832 | /// | error: empty lines after doc comment --> src/runnable.rs:868:5 | 868 | / /// use async_task::{Runnable, spawn}; 869 | | 870 | | /// let (runnable, task) = spawn(async {}, |_| {}); 871 | | /// let runnable_pointer = runnable.into_raw(); ... | 882 | | /// ``` 883 | | | |_^ 884 | /// [into_raw]: #method.into_raw 885 | pub unsafe fn from_raw(ptr: NonNull<()>) -> Self { | ------------------------------------------------ the comment documents this associated function | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty lines are unintentional remove them help: if the documentation should include the empty lines include them in the comment | 869 + /// 870 | /// let (runnable, task) = spawn(async {}, |_| {}); ... 882 | /// ``` 883 + /// | ```
- Loading branch information