mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #9634 - craftytrickster:issue/9564, r=Manishearth
Adding warning to properties.mako.rs regarding the Mako parser mangling https://github.com/servo/servo/issues/9564#issuecomment-183765401 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9634) <!-- Reviewable:end -->
This commit is contained in:
commit
c9b2ef5c7f
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue