Skip to content

Better docs for the str primitive#30057

Merged
bors merged 1 commit intorust-lang:masterfrom
steveklabnik:doc_str
Dec 1, 2015
Merged

Better docs for the str primitive#30057
bors merged 1 commit intorust-lang:masterfrom
steveklabnik:doc_str

Conversation

@steveklabnik
Copy link
Copy Markdown
Contributor

Part of #29338

@rust-highfive
Copy link
Copy Markdown
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comma after chars is potentially confusing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually call these things “preconditions”. Is there any pretext to use “sets of bounds” instead of “preconditions” or “requirements” or another familiar synonym?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't, actually. It would be good to check what we use elsewhere, hmmm

@steveklabnik steveklabnik mentioned this pull request Nov 30, 2015
11 tasks
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.

7 participants