Skip to content

Commit 3178f1a

Browse files
authored
fixed dco (thanos-io#2939)
Signed-off-by: Farukhzhon <[email protected]>
1 parent 8dc1800 commit 3178f1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/contributing/coding-style-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ available space and just reuses that no? (: Well, it's not that easy. TL;DR is t
318318
<tr><td>
319319

320320
```go
321-
var messages []string{}
321+
var messages []string
322322
for _, msg := range recv {
323323
messages = append(messages, msg)
324324

@@ -328,7 +328,7 @@ for _, msg := range recv {
328328
// will be garbage collected only after
329329
// some time (seconds), which
330330
// can create enormous memory pressure.
331-
messages = []string{}
331+
messages = []string
332332
}
333333
}
334334
```
@@ -338,7 +338,7 @@ for _, msg := range recv {
338338
<tr><td>
339339

340340
```go
341-
var messages []string{}
341+
var messages []string
342342
for _, msg := range recv {
343343
messages = append(messages, msg)
344344

0 commit comments

Comments
 (0)