aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/buffer_io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/io/buffer_io.rs')
-rw-r--r--crates/shirabe/src/io/buffer_io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/io/buffer_io.rs b/crates/shirabe/src/io/buffer_io.rs
index 75c850f5..a3311129 100644
--- a/crates/shirabe/src/io/buffer_io.rs
+++ b/crates/shirabe/src/io/buffer_io.rs
@@ -76,7 +76,7 @@ impl BufferIO {
loop {
let next = Preg::replace_callback(
php_regex!(r"{(^|\n|\x08)(.+?)(\x08+)}"),
- |matches: &indexmap::IndexMap<shirabe_pcre::CaptureKey, String>| -> String {
+ |matches: &shirabe_pcre::PregMatchedGroups| -> String {
let empty = String::new();
let g1 = matches
.get(&shirabe_pcre::CaptureKey::ByIndex(1))