about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-08 20:41:21 -0800
committerGitHub <noreply@github.com>2025-02-08 20:41:21 -0800
commitc30908979f1fcd6168dc4ad1372eeaee9c32412d (patch)
tree49d528a781decc61691c5b4cbfb79d7673f51645 /compiler/rustc_llvm/llvm-wrapper
parent5e4d6278af5ca9a95401d8efbec93954608d396a (diff)
parent4457f44065837198ba751ee1c3ff6beb0036bb4b (diff)
downloadrust-c30908979f1fcd6168dc4ad1372eeaee9c32412d.tar.gz
rust-c30908979f1fcd6168dc4ad1372eeaee9c32412d.zip
Rollup merge of #136710 - JakenHerman:jaken/iterator-docs, r=workingjubilee
Document `Sum::sum` returns additive identities for `[]`

Because the neutral element of `<fNN as iter::Sum>` was changed to `neg_zero`, the documentation needed to be updated, as it was reporting inadequate information about what should be expected from the return.

Relevant Commit: https://github.com/rust-lang/rust/commit/490818851860fb257e23fe7aa0ee32eaffc4ba40
Relevant Pull Request: https://github.com/rust-lang/rust/pull/129321

---

The referenced commit causes unintended side effects on presentation layer applications like using Tera templates, for example. I'm not sure what the motivation was behind the original change, but it seems like more discussion should be put into this issue and potentially have that change reverted.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions