Skip to content

Commit

Permalink
Fix typo in documentation of base/bind.h
Browse files Browse the repository at this point in the history
Change-Id: Ib155760013ebf4e693d351d0478bb11eb0076f49
Reviewed-on: https://chromium-review.googlesource.com/c/1433659
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625836}
  • Loading branch information
Ren-Pei Zeng authored and Commit Bot committed Jan 24, 2019
1 parent bd09c42 commit e886fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/bind.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//
// // The first argument is bound at callback creation; the remaining
// // two must be passed when calling Run() on the callback object.
// base::OnceCallback<void(int, long)> cb = base::BindOnce(
// base::OnceCallback<long(int, long)> cb = base::BindOnce(
// [](short x, int y, long z) { return x * y * z; }, 42);
//
// When binding to a method, the receiver object must also be specified at
Expand Down

0 comments on commit e886fdb

Please sign in to comment.