diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-03-15 17:24:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 17:24:08 +0100 |
| commit | 4002638a44a7b7e0728ed1f1252075888bf2cb27 (patch) | |
| tree | 75abb5dea135c472dc4396c26aa1f52c3aaf1aab /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5325c2bdd1715d6140b17c2f811972f46308eca5 (diff) | |
| parent | 07e0182fd3276bb09081a67dbd6cb69910f14413 (diff) | |
| download | rust-4002638a44a7b7e0728ed1f1252075888bf2cb27.tar.gz rust-4002638a44a7b7e0728ed1f1252075888bf2cb27.zip | |
Rollup merge of #122512 - baitcode:2024-03-14-buffer-documentation-fix, r=Nilstrieb
Cursor.rs documentation fix Reason: I've been learning Rust std library and got confused. Seek trait documentation clearly states that negative indexes will cause an error. And the code in the Cursor example uses negative index. I found myself trying to understand what am I missing until I've actually executed the code and got error. I decided to submit small fix to the documentation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
