Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make all newtype inner value private #1456

Closed
webmaster128 opened this issue Oct 12, 2022 · 0 comments · Fixed by #1876
Closed

Make all newtype inner value private #1456

webmaster128 opened this issue Oct 12, 2022 · 0 comments · Fixed by #1876
Labels
Breaking (contracts) Compile-time breaking contracts
Milestone

Comments

@webmaster128
Copy link
Member

See

$ git grep '(pub '
packages/profiler/src/code_blocks.rs:pub struct BlockId(pub u64);
packages/std/src/addresses.rs:pub struct CanonicalAddr(pub Binary);
packages/vm/src/size.rs:pub struct Size(pub usize);

and

$ git grep '(#' | grep ' pub '
packages/std/src/binary.rs:pub struct Binary(#[schemars(with = "String")] pub Vec<u8>);
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Breaking (contracts) Compile-time breaking contracts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant