File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ func (a KeyValue) String() string {
387
387
return fmt .Sprintf ("%s:%s" , a .Key , a .Value )
388
388
}
389
389
390
- // ValueFromAttribute converts [attribute.Value) to [Value].
390
+ // ValueFromAttribute converts [attribute.Value] to [Value].
391
391
func ValueFromAttribute (value attribute.Value ) Value {
392
392
switch value .Type () {
393
393
case attribute .INVALID :
@@ -434,7 +434,7 @@ func ValueFromAttribute(value attribute.Value) Value {
434
434
panic ("unknown attribute type" )
435
435
}
436
436
437
- // KeyValueFromAttribute converts [attribute.KeyValue) to [KeyValue].
437
+ // KeyValueFromAttribute converts [attribute.KeyValue] to [KeyValue].
438
438
func KeyValueFromAttribute (kv attribute.KeyValue ) KeyValue {
439
439
return KeyValue {
440
440
Key : string (kv .Key ),
You can’t perform that action at this time.
0 commit comments