Skip to content

string_view.rs: improve the documentation on raw_string_view.#633

Closed
copybara-service[bot] wants to merge 0 commit intomainfrom
test_879318511
Closed

string_view.rs: improve the documentation on raw_string_view.#633
copybara-service[bot] wants to merge 0 commit intomainfrom
test_879318511

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 6, 2026

string_view.rs: improve the documentation on raw_string_view.

Give some context on what it even is, and make it clearer what the rules are
about lifetimes. Precisely define the rules in one place, and refer to that one
place everywhere else, rather than partially and inconsistently repeating the
rules in each other place. Clarify that the (IMO) too-fancy lifetime API on
as_live is not actually a protection against anything.

@copybara-service copybara-service bot force-pushed the test_879318511 branch 2 times, most recently from 5cf74f5 to d1a1d44 Compare March 9, 2026 21:33
@copybara-service copybara-service bot changed the title string_view.rs: improve the documentation on raw_string_view. string_view.rs: improve the documentation on raw_string_view. Mar 9, 2026
@copybara-service copybara-service bot closed this Mar 9, 2026
@copybara-service copybara-service bot deleted the test_879318511 branch March 9, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants