summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/secure/precis/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/secure/precis/options.go')
-rw-r--r--vendor/golang.org/x/text/secure/precis/options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/text/secure/precis/options.go b/vendor/golang.org/x/text/secure/precis/options.go
index 488f0b1f7..26143db75 100644
--- a/vendor/golang.org/x/text/secure/precis/options.go
+++ b/vendor/golang.org/x/text/secure/precis/options.go
@@ -28,6 +28,7 @@ type options struct {
width transform.SpanningTransformer
disallowEmpty bool
bidiRule bool
+ repeat bool
// Comparison options
ignorecase bool
@@ -78,6 +79,9 @@ var (
bidiRule = func(o *options) {
o.bidiRule = true
}
+ repeat = func(o *options) {
+ o.repeat = true
+ }
)
// TODO: move this logic to package transform