Skip to content

Commit

Permalink
Adding warning to properties.mako.rs regarding the Mako parser mangli…
Browse files Browse the repository at this point in the history
…ng Rust code
  • Loading branch information
craftytrickster committed Feb 14, 2016
1 parent 80e55c7 commit 8fa82f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/style/properties.mako.rs
Expand Up @@ -4,6 +4,10 @@

// This file is a Mako template: http://www.makotemplates.org/

// Please note that valid Rust syntax may be mangled by the Mako parser.
// For example, Vec<&Foo> will be mangled as Vec&Foo>. To work around these issues, the code
// can be escaped. In the above example, Vec<<&Foo> achieves the desired result of Vec<&Foo>.

use std::ascii::AsciiExt;
use std::collections::HashSet;
use std::default::Default;
Expand Down

0 comments on commit 8fa82f6

Please sign in to comment.