diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-04-28 19:42:46 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-04-28 23:31:10 +0200 |
commit | 903305416a8fd4eef75960f9e83491adaaa519e8 (patch) | |
tree | 445f64c0a52c3b554ffc50ee96fe54ea11f32f86 /components/layout/inline.rs | |
parent | b6fc83cf2b4b426548bb9d10e9493f2b111bd617 (diff) | |
download | servo-903305416a8fd4eef75960f9e83491adaaa519e8.tar.gz servo-903305416a8fd4eef75960f9e83491adaaa519e8.zip |
Implement Clone for Copy types.
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index d755678d7ed..e4f35b2f69a 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -65,7 +65,7 @@ static FONT_SUPERSCRIPT_OFFSET_RATIO: f64 = 0.34; /// with a float or a horizontal wall of the containing block. The block-start /// inline-start corner of the green zone is the same as that of the line, but /// the green zone can be taller and wider than the line itself. -#[derive(RustcEncodable, Debug, Copy)] +#[derive(RustcEncodable, Debug, Copy, Clone)] pub struct Line { /// A range of line indices that describe line breaks. /// |