Skip to content

Fix documentation for StrExt::trim_matches#23455

Merged
bors merged 1 commit into
rust-lang:masterfrom
Ryman:trim_matches_doc
Mar 18, 2015
Merged

Fix documentation for StrExt::trim_matches#23455
bors merged 1 commit into
rust-lang:masterfrom
Ryman:trim_matches_doc

Conversation

@Ryman

@Ryman Ryman commented Mar 17, 2015

Copy link
Copy Markdown
Contributor

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @gankro

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

Comment thread src/libcollections/str.rs Outdated

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.

This lost the 'closure' aspect. I would change this to read:

The pattern can be any DoubleEndedSearcher, including a closure that determines the split.

This keeps it overall more consistent with the rest of the other examples.

@steveklabnik

Copy link
Copy Markdown
Contributor

r=me after the little nit

@Ryman Ryman force-pushed the trim_matches_doc branch from 571151a to 34c48db Compare March 17, 2015 20:37
@Ryman

Ryman commented Mar 17, 2015

Copy link
Copy Markdown
Contributor Author

@steveklabnik updated.

@steveklabnik

Copy link
Copy Markdown
Contributor

Thanks so much!

@steveklabnik

Copy link
Copy Markdown
Contributor

@bors: r+ rollup

@bors

bors commented Mar 17, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit 34c48db has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 18, 2015
@bors bors merged commit 34c48db into rust-lang:master Mar 18, 2015
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.

5 participants