Skip to content

Commit c79eb97

Browse files
committed
Remove unnecessary explanation
The nested pub inside a private module is easy to understand, we do not need an explanation.
1 parent f95e91a commit c79eb97

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/context.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ pub struct AllPreallocated<'buf> {
9797

9898
mod private {
9999
use super::*;
100-
// A trick to prevent users from implementing a trait.
101-
// On one hand this trait is public, on the other it's in a private module
102-
// so it's not visible to anyone besides it's parent (the context module).
103100
pub trait Sealed {}
104101

105102
impl<'buf> Sealed for AllPreallocated<'buf> {}

0 commit comments

Comments
 (0)