mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ce4ca67d52
to match the version used by golang.org/x/crypto full diff: https://github.com/golang/text/compare/v0.3.3...v0.3.6 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
340 B
Go
12 lines
340 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build go1.10
|
|
// +build go1.10
|
|
|
|
package bidirule
|
|
|
|
func (t *Transformer) isFinal() bool {
|
|
return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
|
|
}
|