File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 * limitations under the License.
1717 */
1818
19+ #![ forbid( unsafe_code) ]
20+
1921pub mod coders;
2022pub mod elem_types;
2123pub mod internals;
Original file line number Diff line number Diff line change @@ -411,14 +411,12 @@ impl OperatorI for RecordingOperator {
411411 }
412412
413413 fn process ( & self , value : DynamicWindowedValue ) {
414- unsafe {
415- let mut log = RECORDING_OPERATOR_LOGS . lock ( ) . unwrap ( ) ;
416- log. push ( format ! (
417- "{}.process({:?})" ,
418- self . transform_id,
419- value. downcast_ref:: <String >( ) . value
420- ) ) ;
421- }
414+ let mut log = RECORDING_OPERATOR_LOGS . lock ( ) . unwrap ( ) ;
415+ log. push ( format ! (
416+ "{}.process({:?})" ,
417+ self . transform_id,
418+ value. downcast_ref:: <String >( ) . value
419+ ) ) ;
422420
423421 for rec in self . receivers . iter ( ) {
424422 rec. receive ( value) ;
You can’t perform that action at this time.
0 commit comments