File tree 1 file changed +2
-2
lines changed
rinja_derive/src/generator
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ impl<'a> Generator<'a, '_> {
552
552
ensure_filter_has_feature_alloc ( ctx, name, node) ?;
553
553
if !args. is_empty ( ) {
554
554
if let Expr :: StrLit ( ref fmt) = * args[ 0 ] {
555
- buf. write ( "rinja::helpers::std ::format!(" ) ;
555
+ buf. write ( "rinja::helpers::alloc ::format!(" ) ;
556
556
self . visit_str_lit ( buf, fmt) ;
557
557
if args. len ( ) > 1 {
558
558
buf. write ( ',' ) ;
@@ -576,7 +576,7 @@ impl<'a> Generator<'a, '_> {
576
576
ensure_filter_has_feature_alloc ( ctx, name, node) ?;
577
577
if let [ _, arg2] = args {
578
578
if let Expr :: StrLit ( ref fmt) = * * arg2 {
579
- buf. write ( "rinja::helpers::std ::format!(" ) ;
579
+ buf. write ( "rinja::helpers::alloc ::format!(" ) ;
580
580
self . visit_str_lit ( buf, fmt) ;
581
581
buf. write ( ',' ) ;
582
582
self . _visit_args ( ctx, buf, & args[ ..1 ] ) ?;
You can’t perform that action at this time.
0 commit comments