Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few doc examples. #239

Merged
merged 4 commits into from Nov 14, 2016
Merged

Add a few doc examples. #239

merged 4 commits into from Nov 14, 2016

Conversation

@frewsxcv
Copy link
Member

frewsxcv commented Nov 10, 2016

This change is Reviewable

@frewsxcv frewsxcv force-pushed the frewsxcv:doc-examples branch from 7db6d9f to c1d65cd Nov 10, 2016
///
/// let url = Url::parse("https://example.net").unwrap();
/// let url = url.join("foo").unwrap();
/// assert_eq!(url.as_str(), "https://example.net/foo");

This comment has been minimized.

@SimonSapin

SimonSapin Nov 14, 2016

Member

Please change this to showcase trailing slashes: https://example.net/foo joined with bar is https://example.net/bar, but https://example.net/foo/ joined with bar is https://example.net/foo/bar

r=me with this.

@frewsxcv frewsxcv force-pushed the frewsxcv:doc-examples branch from c1d65cd to 2c726b6 Nov 14, 2016
@frewsxcv
Copy link
Member Author

frewsxcv commented Nov 14, 2016

@bors-servo r=SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

📌 Commit 2c726b6 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

Testing commit 2c726b6 with merge 1be1b3b...

bors-servo added a commit that referenced this pull request Nov 14, 2016
Add a few doc examples.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/239)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 2c726b6 into servo:master Nov 14, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.