mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)
This commit is contained in:
parent
ba2cb77c26
commit
40b4348824
28 changed files with 349 additions and 338 deletions
|
@ -724,7 +724,7 @@ impl UnscannedTextFragmentInfo {
|
|||
#[inline]
|
||||
pub fn from_text(text: String) -> UnscannedTextFragmentInfo {
|
||||
UnscannedTextFragmentInfo {
|
||||
text: text.into_boxed_slice(),
|
||||
text: text.into_boxed_str(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2160,7 +2160,7 @@ impl Fragment {
|
|||
break
|
||||
}
|
||||
if modified {
|
||||
unscanned_text_fragment_info.text = new_text_string.into_boxed_slice();
|
||||
unscanned_text_fragment_info.text = new_text_string.into_boxed_str();
|
||||
}
|
||||
|
||||
WhitespaceStrippingResult::from_unscanned_text_fragment_info(
|
||||
|
@ -2238,7 +2238,7 @@ impl Fragment {
|
|||
for character in trailing_bidi_control_characters_to_retain.iter().rev() {
|
||||
text.push(*character);
|
||||
}
|
||||
unscanned_text_fragment_info.text = text.into_boxed_slice();
|
||||
unscanned_text_fragment_info.text = text.into_boxed_str();
|
||||
}
|
||||
|
||||
WhitespaceStrippingResult::from_unscanned_text_fragment_info(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue