diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 09:11:04 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 09:13:48 +0530 |
commit | e94df1ed5c3ccf76cd616e1146e2944f852477ac (patch) | |
tree | d112409360efa1979fca5c2902aecdfa18e684c0 /components/gfx/text/text_run.rs | |
parent | 2e02ea38fca44aaa5fe23e524bf27f667b300ada (diff) | |
download | servo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.tar.gz servo-e94df1ed5c3ccf76cd616e1146e2944f852477ac.zip |
Remove needless returns
Diffstat (limited to 'components/gfx/text/text_run.rs')
-rw-r--r-- | components/gfx/text/text_run.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/text/text_run.rs b/components/gfx/text/text_run.rs index 258766ac08e..22dfa37533b 100644 --- a/components/gfx/text/text_run.rs +++ b/components/gfx/text/text_run.rs @@ -164,7 +164,7 @@ impl<'a> TextRun { glyphs: Arc::new(glyphs), bidi_level: bidi_level, }; - return run; + run } pub fn break_and_shape(font: &mut Font, text: &str, options: &ShapingOptions) |