diff options
| author | Adrien Morison <adrien.morison@gmail.com> | 2021-04-23 18:59:10 +0100 |
|---|---|---|
| committer | Adrien Morison <adrien.morison@gmail.com> | 2021-04-23 19:13:27 +0100 |
| commit | 21b3b27fe4695e13f089a75e67981478b3067a00 (patch) | |
| tree | 9b91906c0e3e6262143be8a5a6b97aa2453e26f8 /compiler/rustc_codegen_llvm/src | |
| parent | 9a352326112e4fd993e339cbd4eabae06d4979b9 (diff) | |
| download | rust-21b3b27fe4695e13f089a75e67981478b3067a00.tar.gz rust-21b3b27fe4695e13f089a75e67981478b3067a00.zip | |
Mention FusedIterator case in Iterator::fuse doc
Using `fuse` on an iterator that incorrectly implements `FusedIterator` does not fuse the iterator. This commit adds a note about this in the documentation of this method to increase awareness about this potential issue (esp. when relying on fuse in unsafe code).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
