Skip to content

Commit

Permalink
Auto merge of #124987 - workingjubilee:macro-metavar-expr-with-a-shor…
Browse files Browse the repository at this point in the history
…ter-len, r=c410-f3r,joshtriplett,joshtriplett

Rename `${length()}` to `${len()}`

Implements the rename suggested in rust-lang/rust#122808 (comment)
> 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`
  • Loading branch information
bors committed May 16, 2024
2 parents 9ff51c2 + a7f2c1c commit d28643e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit d28643e

Please sign in to comment.