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

feat(json-abi): add more impls #164

Merged
merged 5 commits into from
Jul 2, 2023
Merged

feat(json-abi): add more impls #164

merged 5 commits into from
Jul 2, 2023

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Jul 2, 2023

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@@ -129,8 +129,12 @@ impl<'ast> ExpCtxt<'ast> {
return
}
let ty @ Type::Custom(_) = ty else { return };
let Type::Custom(name) = &*ty else { unreachable!() };
let Some(resolved) = map.get(name.last_tmp()) else { return };
let Type::Custom(name) = &*ty else {
Copy link
Member

Choose a reason for hiding this comment

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

fmt drive-by

@@ -129,7 +129,9 @@ impl SolPath {
}

pub fn span(&self) -> Span {
let Some(first) = self.0.first() else { return Span::call_site() };
let Some(first) = self.0.first() else {
Copy link
Member

Choose a reason for hiding this comment

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

fmt drive-by

@DaniPopes DaniPopes merged commit fda8b3c into main Jul 2, 2023
@DaniPopes DaniPopes deleted the dani/json-abi-impls branch July 2, 2023 20:02
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.

2 participants