Update Rust
This commit is contained in:
parent
649be1de09
commit
64962e2c41
2 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@
|
||||||
//!
|
//!
|
||||||
//! ```rust
|
//! ```rust
|
||||||
//! #![feature(plugin)]
|
//! #![feature(plugin)]
|
||||||
|
//! #![plugin(maud_macros)]
|
||||||
//!
|
//!
|
||||||
//! extern crate maud;
|
//! extern crate maud;
|
||||||
//! #[plugin] #[no_link] extern crate maud_macros;
|
|
||||||
//!
|
//!
|
||||||
//! fn main() {
|
//! fn main() {
|
||||||
//! let name = "Lyra";
|
//! let name = "Lyra";
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
//! As with literals, expression values are escaped by default. Use a
|
//! As with literals, expression values are escaped by default. Use a
|
||||||
//! `$$` prefix to disable this behavior.
|
//! `$$` prefix to disable this behavior.
|
||||||
|
|
||||||
#![feature(core, io)]
|
#![feature(io)]
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::old_io::{IoError, IoErrorKind, IoResult};
|
use std::old_io::{IoError, IoErrorKind, IoResult};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#![feature(plugin)]
|
#![feature(plugin)]
|
||||||
|
#![plugin(maud_macros)]
|
||||||
|
|
||||||
extern crate maud;
|
extern crate maud;
|
||||||
#[plugin] #[no_link] extern crate maud_macros;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn literals() {
|
fn literals() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue