Skip to content

Commit cf7e7ea

Browse files
committed
Fix trailing spaces in example output
1 parent a9c21b7 commit cf7e7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ s := padding.String("Hello", 8)
103103
fmt.Println(s)
104104
```
105105

106-
Result: `Hello `
106+
Result: `Hello___` (the underlined portion represents 3 spaces)
107107

108108
There is also a padding Writer, which is compatible with the `io.WriteCloser`
109109
interface:

0 commit comments

Comments
 (0)