diff options
author | Chris Morgan <me@chrismorgan.info> | 2015-04-28 08:23:01 +1000 |
---|---|---|
committer | Chris Morgan <me@chrismorgan.info> | 2015-04-28 08:23:01 +1000 |
commit | 21dd706774a3cfbe9514ef8ac57c6656b48b5c0e (patch) | |
tree | 008c1e7068bd59350c18a8c327d0ce8be88eb273 /pygments/lexers/rust.py | |
parent | b2da97df03113c383a5e684fbc3b0bb35ff9bf60 (diff) | |
download | pygments-21dd706774a3cfbe9514ef8ac57c6656b48b5c0e.tar.gz |
Update Rust lexer prelude items.
Diffstat (limited to 'pygments/lexers/rust.py')
-rw-r--r-- | pygments/lexers/rust.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pygments/lexers/rust.py b/pygments/lexers/rust.py index 6ced687b..df218e5d 100644 --- a/pygments/lexers/rust.py +++ b/pygments/lexers/rust.py @@ -69,12 +69,13 @@ class RustLexer(RegexLexer): # Reexported types and traits 'Box', + 'ToOwned', 'Clone', 'PartialEq', 'PartialOrd', 'Eq', 'Ord', 'AsRef', 'AsMut', 'Into', 'From', - 'DoubleEndedIterator', - 'ExactSizeIterator', - 'Iterator', 'Extend', + 'Default', + 'Iterator', 'Extend', 'IntoIterator', + 'DoubleEndedIterator', 'ExactSizeIterator', 'Option', 'Some', 'None', 'Result', |