Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jadamcrain committed Apr 26, 2022
1 parent 82def78 commit 5d0fe23
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
jobs:
# Check dependencies
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
matrix:
rust:
- stable
- beta
#- beta
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
55 changes: 24 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-script/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ci-script"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion generators/c-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c-oo-bindgen"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion generators/dotnet-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dotnet-oo-bindgen"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion generators/java-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "java-oo-bindgen"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion generators/rust-oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-oo-bindgen"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion oo-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oo-bindgen"
version = "0.1.5"
version = "0.2.0"
authors = ["Émile Grégoire <emile@stepfunc.io>"]
edition = "2021"

Expand Down
5 changes: 1 addition & 4 deletions oo-bindgen/src/model/error_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ where
}

pub fn get(&self) -> Option<&ErrorType<D>> {
match &self.inner {
None => None,
Some(x) => Some(x),
}
self.inner.as_ref()
}

pub fn is_some(&self) -> bool {
Expand Down
5 changes: 1 addition & 4 deletions oo-bindgen/src/model/return_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ where
D: DocReference,
{
pub fn get(&self) -> Option<&ReturnType<T, D>> {
match &self.value {
None => None,
Some(x) => Some(x),
}
self.value.as_ref()
}

pub fn is_none(&self) -> bool {
Expand Down

0 comments on commit 5d0fe23

Please sign in to comment.