@@ -34,8 +34,8 @@ use crate::{
3434 environment:: Globals ,
3535 eval:: { Arguments , Evaluator } ,
3636 values:: {
37- docs:: DocItem , function:: FUNCTION_TYPE , ControlError , Freezer , FrozenValue , Heap , Tracer ,
38- Value , ValueError ,
37+ docs:: DocItem , function:: FUNCTION_TYPE , ControlError , Freezer , FrozenStringValue , Heap ,
38+ Tracer , Value , ValueError ,
3939 } ,
4040} ;
4141use gazebo:: any:: AnyLifetime ;
@@ -339,20 +339,20 @@ pub trait StarlarkValue<'v>: 'v + AnyLifetime<'v> + AsStarlarkValue<'v> + Debug
339339 /// Usually implemented by the [`starlark_type!`] macro.
340340 fn get_type ( & self ) -> & ' static str ;
341341
342- /// Like get_type, but returns a reusable [`FrozenValue`] pointer to it.
343- /// This function deliberately doesn't take a heap, as it would not be performant
344- /// to allocate a new value each time.
342+ /// Like [` get_type`](Self::get_type) , but returns a reusable [`FrozenStringValue`]
343+ /// pointer to it. This function deliberately doesn't take a heap,
344+ /// as it would not be performant to allocate a new value each time.
345345 ///
346346 /// Usually implemented by the [`starlark_type!`] macro.
347- fn get_type_value ( & self ) -> FrozenValue ;
347+ fn get_type_value ( & self ) -> FrozenStringValue ;
348348
349349 /// Like [`get_type_value`](Self::get_type_value), but does not require `self`.
350350 ///
351351 /// This function must return the same statically-allocated instance as
352352 /// [`get_type_value`](Self::get_type_value).
353353 ///
354354 /// Usually implemented by the [`starlark_type!`] macro.
355- fn get_type_value_static ( ) -> FrozenValue
355+ fn get_type_value_static ( ) -> FrozenStringValue
356356 where
357357 Self : Sized ;
358358
0 commit comments