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

Replace deprecated try! with ? #10

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

andrewgy8
Copy link
Contributor

As of 1.39, the try! macro is deprecated

@andrewgy8
Copy link
Contributor Author

BTW, I ran all tests locally and this was the output:

running 9 tests
test categorize::test_accessible ... ok
test categorize::test_update ... ok
test categorize::test_normalize ... ok
test models::test_distance ... ok
test models::test_as_wkt ... ok
test reader::test_count_nodes ... ok
test reader::test_wrong_file ... ok
test reader::test_split ... ok
test reader::test_real_all ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

     Running target/debug/deps/osm4routing-d3efa1cde45131ef

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

   Doc-tests osm4routing

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

@Tristramg
Copy link
Collaborator

Thank you very much for this contribution!

@Tristramg Tristramg merged commit 75696cc into rust-transit:master Aug 4, 2020
@andrewgy8 andrewgy8 deleted the replace-deprecated-try branch August 5, 2020 07:08
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