We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f54f45 commit 6ffad06Copy full SHA for 6ffad06
starlark/src/typing/ty.rs
@@ -207,14 +207,6 @@ impl Ty {
207
}
208
209
210
- /// Create a named type.
211
- ///
212
- /// This function is deprecated because types should be migrated to either
213
- /// types based on `StarlarkValue` or `TyCustom`.
214
- pub fn name_deprecated(name: &str) -> Self {
215
- Self::name(name)
216
- }
217
-
218
/// Turn a type back into a name, potentially erasing some structure.
219
/// E.g. the type `[bool]` would return `list`.
220
/// Types like [`Ty::any`] will return `None`.
0 commit comments