We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df71e10 commit 01d38dbCopy full SHA for 01d38db
translatable/src/lib.rs
@@ -48,7 +48,6 @@ pub mod internal {
48
Translation(HashMap<String, String>),
49
}
50
51
- #[doc(hidden)]
52
impl NestingType {
53
/// Resolves a translation path through nested structures
54
///
@@ -58,6 +57,7 @@ pub mod internal {
58
57
/// # Returns
59
/// - `Some(&HashMap)` if path resolves to translations
60
/// - `None` if path is invalid
+ #[doc(hidden)]
61
pub fn get_path(&self, path: Vec<&str>) -> Option<&HashMap<String, String>> {
62
match self {
63
Self::Object(nested) => {
0 commit comments