Skip to content

Commit c4c5bb1

Browse files
authored
fix: description error (#66)
* fix: description error * fix: adjust description based on review comments
1 parent 0c55f53 commit c4c5bb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ hellomsg := `
708708

709709
## Reflection
710710
### Type Switch
711-
A type switch is like a regular switch statement, but the cases in a type switch specify types (not values), and those values are compared against the type of the value held by the given interface value.
711+
A type switch is like a regular switch statement, but the cases in a type switch specify types (not values) which are compared against the type of the value held by the given interface value.
712712
```go
713713
func do(i interface{}) {
714714
switch v := i.(type) {
@@ -743,7 +743,7 @@ import (
743743
"net/http"
744744
)
745745

746-
// content holds the static content (2 files) or the web server.
746+
// content holds the static content (2 files) for the web server.
747747
//go:embed a.txt b.txt
748748
var content embed.FS
749749

0 commit comments

Comments
 (0)