-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[External] [stdlib] Rename
List.size
to List._len
and refactor us…
…age of the field to use the public API (#56692) [External] [stdlib] Rename `List.size` to `List._len` Make the data member `size` of `List` private by prefixing with an `_`. Rename it to `len` while we're here. Adjust call sites to use public APIs where possible. Details: - Part of #3511 - To prepare for any future implementation details than can change under the hood for `List`. Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com> Closes #3814 MODULAR_ORIG_COMMIT_REV_ID: c2ac41d4c543b01619814ce0cd58fd8ba15ac9e9
- Loading branch information
1 parent
e543f24
commit 5f2570f
Showing
12 changed files
with
141 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.