about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-16 00:26:20 +0000
committerbors <bors@rust-lang.org>2024-05-16 00:26:20 +0000
commitb71e8cbaf2c7cae4d36898fff1d0ba19d9233082 (patch)
tree8d3c5b0d948cfe4733f834c4a950a62c8a58bcd9 /compiler/rustc_errors/src
parent1871252fc8bb672d40787e67404e6eaae7059369 (diff)
parent6e74155b0bbcf67b8319dd292ac793abcbf16ee7 (diff)
downloadrust-b71e8cbaf2c7cae4d36898fff1d0ba19d9233082.tar.gz
rust-b71e8cbaf2c7cae4d36898fff1d0ba19d9233082.zip
Auto merge of #124987 - workingjubilee:macro-metavar-expr-with-a-shorter-len, r=c410-f3r,joshtriplett,joshtriplett
Rename `${length()}` to `${len()}`

Implements the rename suggested in https://github.com/rust-lang/rust/pull/122808#issuecomment-2047722187
> I brought this up in the doc PR but it belongs here – `length` should probably be renamed `len` before stabilization. The latter is de facto standard in the standard library, whereas the former is only used in a single unstable API. These metafunctions aren’t library items of course, but should presumably still be consistent with established names.

r? `@c410-f3r`
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions