aboutsummaryrefslogtreecommitdiff
path: root/cmp/cmpopts/struct_filter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmp/cmpopts/struct_filter.go')
-rw-r--r--cmp/cmpopts/struct_filter.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmp/cmpopts/struct_filter.go b/cmp/cmpopts/struct_filter.go
index a09829c..ca11a40 100644
--- a/cmp/cmpopts/struct_filter.go
+++ b/cmp/cmpopts/struct_filter.go
@@ -67,12 +67,14 @@ func (sf structFilter) filter(p cmp.Path) bool {
// fieldTree represents a set of dot-separated identifiers.
//
// For example, inserting the following selectors:
+//
// Foo
// Foo.Bar.Baz
// Foo.Buzz
// Nuka.Cola.Quantum
//
// Results in a tree of the form:
+//
// {sub: {
// "Foo": {ok: true, sub: {
// "Bar": {sub: {