Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d272d6a

Browse files
committedFeb 22, 2023
Change some pub to pub(crate) in std
1 parent bda32a4 commit d272d6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+343
-302
lines changed
 
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
//! Unordered containers, implemented as hash-tables
22
3-
pub mod map;
4-
pub mod set;
3+
pub(crate) mod map;
4+
pub(crate) mod set;

‎library/std/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod private {
1515
// implementations, since that can enable unsound downcasting.
1616
#[unstable(feature = "error_type_id", issue = "60784")]
1717
#[derive(Debug)]
18-
pub struct Internal;
18+
pub(crate) struct Internal;
1919
}
2020

2121
/// An error reporter that prints an error and its sources.

0 commit comments

Comments
 (0)
Please sign in to comment.