Clarify the rustdoc on __internal PiperOrigin-RevId: 703541883pull/19548/head
parent
f10826ed25
commit
b025398f9c
9 changed files with 58 additions and 42 deletions
@ -1,11 +1,10 @@ |
||||
|
||||
use protobuf::{__internal, __runtime}; |
||||
use protobuf::__internal; |
||||
|
||||
#[googletest::test] |
||||
#[allow(clippy::unit_cmp)] |
||||
fn test_no_internal_access() { |
||||
// This test is to ensure that the `__internal` and `__runtime` mods are
|
||||
// 'blocked' by instead being a unit type instead of a module.
|
||||
// This test is to ensure that the `__internal` is 'blocked' by instead being a
|
||||
// unit type instead of a module.
|
||||
assert_eq!(__internal, ()); |
||||
assert_eq!(__runtime, ()); |
||||
} |
||||
|
Loading…
Reference in new issue