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

mismatch type error #203

Merged
merged 2 commits into from
Aug 25, 2022
Merged

Conversation

michaelkirk
Copy link
Member

@michaelkirk michaelkirk commented Aug 19, 2022

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Fixes #201
Based on #202, so let's merge that first. merged!

@michaelkirk michaelkirk changed the title Mkirk/mismatch type error mismatch type error Aug 19, 2022
Copy link
Contributor

@metasim metasim left a comment

Choose a reason for hiding this comment

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

@michaelkirk Thanks for doing this... glad to get that clone out of there!

LGTM.

let mut map = JsonObject::new();
let ty = String::from(match value {
impl Value {
pub fn type_name(&self) -> &'static str {
Copy link
Contributor

Choose a reason for hiding this comment

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

💯

@michaelkirk
Copy link
Member Author

bors r=metasim

@bors
Copy link
Contributor

bors bot commented Aug 25, 2022

Build succeeded:

@bors bors bot merged commit d58a05f into georust:master Aug 25, 2022
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.

InvalidGeometryConversion should have "expected" vs. "found" types.
2 participants