about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2020-08-29 19:01:41 -0400
committerHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2020-08-29 19:01:41 -0400
commitcc3b2f9e1da2bb1bf2eda2e265687ed028cb0e22 (patch)
treeeefe0c3ff4dc4dc6a290b51397b68da3f2cafadd /compiler/rustc_codegen_llvm/src
parent2c3dc04ea4071805fbd1b07bd726c1daf03c0384 (diff)
downloadrust-cc3b2f9e1da2bb1bf2eda2e265687ed028cb0e22.tar.gz
rust-cc3b2f9e1da2bb1bf2eda2e265687ed028cb0e22.zip
Add more examples to lexicographic cmp on Iterators.
The most important rule of lexicographical comparison is that two arrays
of equal length will be compared until the first difference occured.

The examples provided only focuses on the second rule that says that the
shorter array will be filled with some T2 that is less than every T.
Which is only possible because of the first rule.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions