aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/text/text_run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/text/text_run.rs')
-rw-r--r--src/servo/text/text_run.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/servo/text/text_run.rs b/src/servo/text/text_run.rs
index 8cf82853714..0caaa7873f8 100644
--- a/src/servo/text/text_run.rs
+++ b/src/servo/text/text_run.rs
@@ -126,7 +126,7 @@ impl TextRun {
}
}
-fn TextRun(font: &Font, +text: ~str) -> TextRun {
+fn TextRun(font: &Font, text: ~str) -> TextRun {
let glyph_store = GlyphStore(text.len());
let run = TextRun {
text: text,
@@ -160,7 +160,7 @@ fn test_calc_min_break_width() {
#[test]
#[ignore]
fn test_iter_indivisible_pieces() {
- fn test_pieces(+text: ~str, +res: ~[~str]) {
+ fn test_pieces(text: ~str, res: ~[~str]) {
let flib = FontCache();
let font = flib.get_test_font();
let run = TextRun(font, copy text);