Rename some 'new' functions to 'new_inherited'.

This commit is contained in:
Ms2ger 2013-12-12 14:34:58 +01:00
parent 3fe50711d4
commit 7f4283f4bc
8 changed files with 10 additions and 10 deletions

View file

@ -17,7 +17,7 @@ pub struct Text {
impl Text {
pub fn new_inherited(text: ~str, document: AbstractDocument) -> Text {
Text {
element: CharacterData::new(TextNodeTypeId, text, document)
element: CharacterData::new_inherited(TextNodeTypeId, text, document)
}
}