Skip to content

Commit 28a3f2d

Browse files
authored
Merge pull request #76 from xushiwei/q
ignore go.work
2 parents ff39416 + 4ef3638 commit 28a3f2d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ go.json
4242

4343
.vscode
4444
.idea
45+
go.work*
4546

4647
cmd/qfmt/qfmt

106-Types/types-2.gop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ d := bigrat(a) - 1/3r + 3*1/2r
1212
println a, b, c, d
1313

1414
r1 := 1r
15-
br := bigrat(1r) //Casting rational numbers works like other primitive types
16-
cr := bigrat(1) //Casting normal numbers also works like other primitive types
15+
br := bigrat(1r) // Casting rational numbers works like other primitive types
16+
cr := bigrat(1) // Casting normal numbers also works like other primitive types
1717
println r1/3 // 0
1818
println br/3 // 1/3
1919
println cr/3 // 1/3

0 commit comments

Comments
 (0)