Skip to content

Commit 742089c

Browse files
committed
Merge branch 'master' of github.com:kevin-valerio/go-arithmetic-panik
2 parents ec80a16 + 9dbcc6d commit 742089c

File tree

447 files changed

+10556
-14121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+10556
-14121
lines changed

doc/next/1-intro.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<style>
2+
main ul li { margin: 0.5em 0; }
3+
</style>
4+
5+
## DRAFT RELEASE NOTES — Introduction to Go 1.26 {#introduction}
6+
7+
**Go 1.26 is not yet released. These are work-in-progress release notes.
8+
Go 1.26 is expected to be released in February 2026.**

doc/next/2-language.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Changes to the language {#language}
2+
3+

doc/next/3-tools.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Tools {#tools}
2+
3+
### Go command {#go-command}
4+
5+
<!-- go.dev/issue/74667 -->
6+
`cmd/doc`, and `go tool doc` have been deleted. `go doc` can be used as
7+
a replacement for `go tool doc`: it takes the same flags and arguments and
8+
has the same behavior.
9+
10+
### Cgo {#cgo}
11+

doc/next/4-runtime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Runtime {#runtime}

doc/next/5-toolchain.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Compiler {#compiler}
2+
3+
## Assembler {#assembler}
4+
5+
## Linker {#linker}
6+
7+

doc/next/6-stdlib/0-heading.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Standard library {#library}
2+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Minor changes to the library {#minor_library_changes}
2+
3+
#### go/types
4+
5+
The `Var.Kind` method returns an enumeration of type `VarKind` that
6+
classifies the variable (package-level, local, receiver, parameter,
7+
result, or struct field). See issue #70250.
8+
9+
Callers of `NewVar` or `NewParam` are encouraged to call `Var.SetKind`
10+
to ensure that this attribute is set correctly in all cases.

doc/next/6-stdlib/99-minor/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
API changes and other small changes to the standard library go here.

doc/next/7-ports.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Ports {#ports}
2+

src/bytes/bytes_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,14 +693,14 @@ func bmIndexRuneUnicode(rt *unicode.RangeTable, needle rune) func(b *testing.B,
693693
for _, r16 := range rt.R16 {
694694
for r := rune(r16.Lo); r <= rune(r16.Hi); r += rune(r16.Stride) {
695695
if r != needle {
696-
rs = append(rs, rune(r))
696+
rs = append(rs, r)
697697
}
698698
}
699699
}
700700
for _, r32 := range rt.R32 {
701701
for r := rune(r32.Lo); r <= rune(r32.Hi); r += rune(r32.Stride) {
702702
if r != needle {
703-
rs = append(rs, rune(r))
703+
rs = append(rs, r)
704704
}
705705
}
706706
}

0 commit comments

Comments
 (0)