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

Make BinaryHeap Dijkstra example return Option #30369

Merged
merged 1 commit into from
Dec 14, 2015
Merged

Conversation

jethrogb
Copy link
Contributor

The old code returned usize::MAX as an error condition, which is not the Rust way.

@steveklabnik
Copy link
Member

@bors: r+ rollup

This is great, thanks!

@bors
Copy link
Contributor

bors commented Dec 13, 2015

📌 Commit 6e46a0f has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented Dec 14, 2015

⌛ Testing commit 6e46a0f with merge 6b3a3f2...

bors added a commit that referenced this pull request Dec 14, 2015
The old code returned `usize::MAX` as an error condition, which is not the Rust way.
@bors bors merged commit 6e46a0f into rust-lang:master Dec 14, 2015
@jethrogb jethrogb deleted the patch-2 branch December 14, 2015 04:40
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.

3 participants