about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorDavid Elliott <david@gophilosophie.com>2015-09-26 10:36:37 -0700
committerDavid Elliott <david@gophilosophie.com>2015-09-26 10:36:37 -0700
commitded2370a740e7d3b3bd631012f1a724c11b315cf (patch)
tree40c7a2bc6fff92f023a3d00d2083de5ca05aecda /src/rustllvm/ExecutionEngineWrapper.cpp
parent2e88c36ebcec101c7de6313c4d45ffe66123fd3a (diff)
downloadrust-ded2370a740e7d3b3bd631012f1a724c11b315cf.tar.gz
rust-ded2370a740e7d3b3bd631012f1a724c11b315cf.zip
clarify that `find` returns first match
the example for `find` was misleading in that it fails to mention the result is either `None` or `Some` containing only the first match. Further confusing the issue is the `println!` statement, "We got some numbers!"
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions