summaryrefslogtreecommitdiff
path: root/pygments/lexers/rust.py
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2015-04-28 08:23:01 +1000
committerChris Morgan <me@chrismorgan.info>2015-04-28 08:23:01 +1000
commit21dd706774a3cfbe9514ef8ac57c6656b48b5c0e (patch)
tree008c1e7068bd59350c18a8c327d0ce8be88eb273 /pygments/lexers/rust.py
parentb2da97df03113c383a5e684fbc3b0bb35ff9bf60 (diff)
downloadpygments-21dd706774a3cfbe9514ef8ac57c6656b48b5c0e.tar.gz
Update Rust lexer prelude items.
Diffstat (limited to 'pygments/lexers/rust.py')
-rw-r--r--pygments/lexers/rust.py7
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',