Skip to content

Commit 4e45d71

Browse files
committed
syntax: Make the pipe compiler stop generating set_buffer_ calls
1 parent e22aa02 commit 4e45d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ext/pipes/pipec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pub impl protocol: gen_init {
368368
ext_cx.block(
369369
self.states.map_to_vec(
370370
|s| ext_cx.parse_stmt(
371-
fmt!("data.%s.set_buffer_(buffer)",
371+
fmt!("data.%s.set_buffer(buffer)",
372372
s.name))),
373373
ext_cx.parse_expr(
374374
fmt!("::ptr::addr_of(&(data.%s))",
@@ -395,7 +395,7 @@ pub impl protocol: gen_init {
395395
ext_cx.block(
396396
self.states.map_to_vec(
397397
|s| ext_cx.parse_stmt(
398-
fmt!("data.%s.set_buffer_(buffer)",
398+
fmt!("data.%s.set_buffer(buffer)",
399399
s.name))),
400400
ext_cx.parse_expr(
401401
fmt!("::ptr::addr_of(&(data.%s))",

0 commit comments

Comments
 (0)