Adding warning to properties.mako.rs regarding the Mako parser mangling Rust code

This commit is contained in:
David Raifaizen 2016-02-14 12:23:53 -05:00
parent 80e55c7ce4
commit 8fa82f611c

View file

@ -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;