aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/str.rs
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-03-20 18:38:04 -0400
committerBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-03-26 09:11:13 -0400
commit9038f2102663a308e8af50f873788877bbe36ade (patch)
tree8b91c003ecf80ba8de77c03618760377bc93ccd8 /src/components/util/str.rs
parente95aa0febdad07bf8812f4d66cf49883f855c4df (diff)
downloadservo-9038f2102663a308e8af50f873788877bbe36ade.tar.gz
servo-9038f2102663a308e8af50f873788877bbe36ade.zip
Support live HTMLCollection for FieldSet.elements
Diffstat (limited to 'src/components/util/str.rs')
-rw-r--r--src/components/util/str.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/util/str.rs b/src/components/util/str.rs
index bd89ad9ea6f..cdbf1bb9ea9 100644
--- a/src/components/util/str.rs
+++ b/src/components/util/str.rs
@@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
pub type DOMString = ~str;
+pub type StaticStringVec = &'static [&'static str];
pub fn null_str_as_empty(s: &Option<DOMString>) -> DOMString {
// We don't use map_default because it would allocate ~"" even for Some.