Skip to content

Commit 041c159

Browse files
committed
fix typo
1 parent 938c8ea commit 041c159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/terms.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Variables are discussed in the L<variable language docs |/language/variables>.
176176
X<|constant (Terms)>
177177
Constants are declared with C<constant> and do not require a sigil. The RHS is evaluated at compile time, what may be too early to make sense.
178178
179-
constant SpeedOfLight = 299792458/ # m/s
179+
constant SpeedOfLight = 299792458; # m/s
180180
constant PHI = 1.61803398875; # The golden ratio is everywhere!
181181
constant POW2 = do { my int @table; @table = 1, 2, 4 ... 2**32; @table };
182182
say POW2[16];

0 commit comments

Comments
 (0)