We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d028c82 commit 81b3ff2Copy full SHA for 81b3ff2
sdk/src/lib.rs
@@ -448,10 +448,9 @@ impl Resize for AccountView {
448
}
449
450
451
+// Not `pub`, so other crates cannot name nor implement its trait.
452
#[cfg(feature = "resize")]
453
mod sealed {
- // Not `pub`, so other crates cannot name/implement it.
454
- //
455
// This is used to "seal" the `Resize` trait, preventing external crates from
456
// implementing it for types other than `AccountView`.
457
pub trait Sealed {}
0 commit comments