File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/engine/src/builtins/intl/date_time_format Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ impl DateTimeFormat {
190190 // 3. Perform ? RequireInternalSlot(dtf, [[InitializedDateTimeFormat]]).
191191 let dtf_object = object. downcast :: < Self > ( ) . map_err ( |_| {
192192 JsNativeError :: typ ( )
193- . with_message ( "the `this` object must be an initializedDateTimeFormat object" )
193+ . with_message ( "the `this` object must be an initialized DateTimeFormat object" )
194194 } ) ?;
195195 let dtf_clone = dtf_object. clone ( ) ;
196196 let mut dtf = dtf_object. borrow_mut ( ) ;
@@ -361,7 +361,7 @@ impl ToLocalTime {
361361 pub ( crate ) fn to_formattable_datetime ( & self ) -> DateTime < Iso > {
362362 DateTime {
363363 date : Date :: try_new_iso ( self . year , self . month , self . day )
364- . expect ( "TimeClip insures valid range." ) ,
364+ . expect ( "TimeClip ensures valid range." ) ,
365365 time : Time :: try_new ( self . hour , self . minute , self . second , self . subsecond )
366366 . expect ( "valid values" ) ,
367367 }
You can’t perform that action at this time.
0 commit comments