Test doc comment expansion

This commit is contained in:
David Tolnay 2021-02-07 14:10:14 -08:00
parent f779c67149
commit e8b5c21cac
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,8 @@
#![feature(prelude_import)]
#![doc = " Test"]
#[prelude_import]
use std::prelude::v1::*;
#[macro_use]
extern crate std;
#[doc = " Test"]
pub fn test() {}

View file

@ -1 +1,4 @@
//! Test
/// Test
pub fn test() {}