2016-10-11 08:56:30 +00:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
#![doc(html_playground_url = "https://www.example.com/")]
|
|
|
|
|
|
|
|
//! module docs
|
|
|
|
//!
|
|
|
|
//! ```
|
|
|
|
//! println!("Hello, world!");
|
|
|
|
//! ```
|
|
|
|
//!
|
|
|
|
//! ```
|
|
|
|
//! fn main() {
|
|
|
|
//! println!("Hello, world!");
|
|
|
|
//! }
|
|
|
|
//! ```
|
|
|
|
//!
|
|
|
|
//! ```
|
|
|
|
//! #![feature(something)]
|
|
|
|
//!
|
|
|
|
//! fn main() {
|
|
|
|
//! println!("Hello, world!");
|
|
|
|
//! }
|
|
|
|
//! ```
|
|
|
|
|
2023-01-24 22:39:59 +00:00
|
|
|
// @matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0Aprintln!(%22Hello,+world!%22);%0A%7D&edition=2015"]' "Run"
|
|
|
|
// @matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&edition=2015"]' "Run"
|
|
|
|
// @matches foo/index.html '//a[@class="test-arrow"][@href="https://www.example.com/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(something)%5D%0A%0Afn+main()+%7B%0A++++println!(%22Hello,+world!%22);%0A%7D&version=nightly&edition=2015"]' "Run"
|