Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename lsubstr to substr-rw

  • Loading branch information...
commit f4e6701e938505a3c505fbea331c2fd6a4a64054 1 parent c89725c
@moritz moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Str.pm
View
2  src/core/Str.pm
@@ -866,7 +866,7 @@ sub chrs(*@c) {
@c.map({.chr}).join('');
}
-sub lsubstr($s is rw, $from = 0, $chars = $s.chars - $from) {
+sub substr-rw($s is rw, $from = 0, $chars = $s.chars - $from) {
my Str $substr = $s.substr($from, $chars);
Proxy.new(
FETCH => sub ($) { $substr },
Please sign in to comment.
Something went wrong with that request. Please try again.