Skip to content

Commit 01d38db

Browse files
committed
fix: change #[doc(hidden)] place for NestingType::get_path
1 parent df71e10 commit 01d38db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translatable/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ pub mod internal {
4848
Translation(HashMap<String, String>),
4949
}
5050

51-
#[doc(hidden)]
5251
impl NestingType {
5352
/// Resolves a translation path through nested structures
5453
///
@@ -58,6 +57,7 @@ pub mod internal {
5857
/// # Returns
5958
/// - `Some(&HashMap)` if path resolves to translations
6059
/// - `None` if path is invalid
60+
#[doc(hidden)]
6161
pub fn get_path(&self, path: Vec<&str>) -> Option<&HashMap<String, String>> {
6262
match self {
6363
Self::Object(nested) => {

0 commit comments

Comments
 (0)