Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
86630fe6
Commit
86630fe6
authored
Nov 11, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort.Search: fix typo in documentation
R=r CC=golang-dev
https://golang.org/cl/3016043
parent
b6111370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pkg/sort/search.go
src/pkg/sort/search.go
+1
-1
No files found.
src/pkg/sort/search.go
View file @
86630fe6
...
@@ -24,7 +24,7 @@ package sort
...
@@ -24,7 +24,7 @@ package sort
//
//
// If data[0] <= x and x <= data[n-1], Search returns the index i with:
// If data[0] <= x and x <= data[n-1], Search returns the index i with:
//
//
// data[i] <= x && x <
= data[i+1]
// data[i] <= x && x <
data[i+1] (0 <= i < n)
//
//
// where data[n] is assumed to be larger than any x. Thus, i is the index of x
// where data[n] is assumed to be larger than any x. Thus, i is the index of x
// if it is present in the data. It is the responsibility of the caller to
// if it is present in the data. It is the responsibility of the caller to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment