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

Redundant structs #18

Open
vimmerru opened this issue Sep 24, 2018 · 0 comments
Open

Redundant structs #18

vimmerru opened this issue Sep 24, 2018 · 0 comments

Comments

@vimmerru
Copy link

For the current moment all API functions implemented as static structs methods in dedicated submodule. It causes unnecessary usage of structs in code. We can just have public functions in submodule:

indy::wallet::Wallet::create("{}", "{}").unwrap();

can be just replaced with

indy::wallet::create("{}", "{}").unwrap();

It will look much more nature to Rust.

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

No branches or pull requests

1 participant