Skip to content

Rename LangString::all_false() to default() #80015

Closed
@jyn514

Description

@jyn514

LangString::all_false is not actually all_false - rust will return true. It would be nice to rename it to default() at some point (and maybe add impl Default for LangString while we're at it).

cc @poliorcetics

Originally posted by @jyn514 in #80013 (comment)

Metadata

Metadata

Assignees

Labels

A-markdown-parsingArea: Markdown parsing for doc-commentsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions