diff options
Diffstat (limited to 'src/components/util/str.rs')
-rw-r--r-- | src/components/util/str.rs | 1 |
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. |