Skip to content

Commit 5d700c5

Browse files
authored
chore: fix typos (#1076)
Signed-off-by: Rui Chen <[email protected]>
1 parent 957cf7d commit 5d700c5

File tree

27 files changed

+31
-31
lines changed

27 files changed

+31
-31
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ concurrent-ruby-edge:
296296
* Simplification of `RubySingleThreadExecutor`
297297
* `Async` improvements
298298
- Each object uses its own `SingleThreadExecutor` instead of the global thread pool.
299-
- No longers supports executor injection
299+
- No longer supports executor injection
300300
- Much better documentation
301301
* `Atom` updates
302302
- No longer `Dereferenceable`
@@ -471,7 +471,7 @@ Please see the [roadmap](https://github.com/ruby-concurrency/concurrent-ruby/iss
471471
* Fixed bug with return value of `Concurrent::Actor::Utils::Pool#ask`
472472
* Fixed timing bug in `TimerTask`
473473
* Fixed bug when creating a `JavaThreadPoolExecutor` with minimum pool size of zero
474-
* Removed confusing warning when not using native extenstions
474+
* Removed confusing warning when not using native extensions
475475
* Improved documentation
476476

477477
## Release v0.7.0 (13 August 2014)

docs-source/erlang_actor.in.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The one exception from the original Erlang naming is exit.
254254
To avoid clashing with `Kernel#exit` it's called `terminate`.
255255

256256
Until there is more information available here, the chapters listed below from
257-
a book [lern you some Erlang](https://learnyousomeerlang.com)
257+
a book [learn you some Erlang](https://learnyousomeerlang.com)
258258
are excellent source of information.
259259
The Ruby ErlangActor implementation has same behaviour.
260260

docs-source/erlang_actor.out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ The one exception from the original Erlang naming is exit.
276276
To avoid clashing with `Kernel#exit` it's called `terminate`.
277277

278278
Until there is more information available here, the chapters listed below from
279-
a book [lern you some Erlang](https://learnyousomeerlang.com)
279+
a book [learn you some Erlang](https://learnyousomeerlang.com)
280280
are excellent source of information.
281281
The Ruby ErlangActor implementation has same behaviour.
282282

examples/benchmark_atomic_1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def para_prepare(&block)
133133
# NOTE: It seems to me that this measurement method
134134
# is sensible to how the system dispatches his resources.
135135
#
136-
# More precise caluclation could be done using
136+
# More precise calculation could be done using
137137
# getrusage's times
138138
ret = Benchmark.measure do
139139
$go = true

examples/graph_atomic_bench.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
end
4848
elsif conf[:vary] == "speed"
4949
# Varies the execution time of the update block
50-
# by using long calulation (MD5)
50+
# by using long calculation (MD5)
5151
#
5252
# NOTE: Thread.pass and sleep() are not usable by the atomic
5353
# lock. It needs to run the whole block without hitting

ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ public static interface Spliterator<T> extends Iterator<T> {
481481
*
482482
* Maintaining API and serialization compatibility with previous
483483
* versions of this class introduces several oddities. Mainly: We
484-
* leave untouched but unused constructor arguments refering to
484+
* leave untouched but unused constructor arguments referring to
485485
* concurrencyLevel. We accept a loadFactor constructor argument,
486486
* but apply it only to initial table capacity (which is the only
487487
* time that we can guarantee to honor it.) We also declare an

ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public static interface Spliterator<T> extends Iterator<T> {
484484
*
485485
* Maintaining API and serialization compatibility with previous
486486
* versions of this class introduces several oddities. Mainly: We
487-
* leave untouched but unused constructor arguments refering to
487+
* leave untouched but unused constructor arguments referring to
488488
* concurrencyLevel. We accept a loadFactor constructor argument,
489489
* but apply it only to initial table capacity (which is the only
490490
* time that we can guarantee to honor it.) We also declare an

lib/concurrent-ruby-edge/concurrent/edge/lock_free_linked_set/node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def next_node
3838
@SuccessorReference.value
3939
end
4040

41-
# This method provides a unqiue key for the data which will be used for
41+
# This method provides a unique key for the data which will be used for
4242
# ordering. This is configurable, and changes depending on how you wish
4343
# the nodes to be ordered.
4444
def key_for(data)

lib/concurrent-ruby-edge/concurrent/edge/old_channel_integration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module OldChannelIntegration
3636

3737
# @!visibility private
3838

39-
# Zips with selected value form the suplied channels
39+
# Zips with selected value form the supplied channels
4040
# @return [Future]
4141
def then_select(*channels)
4242
future = Concurrent::Promises.select(*channels)

lib/concurrent-ruby/concurrent/agent.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def await_for(timeout)
371371
# @param [Float] timeout the maximum number of seconds to wait
372372
# @return [Boolean] true if all actions complete before timeout
373373
#
374-
# @raise [Concurrent::TimeoutError] when timout is reached
374+
# @raise [Concurrent::TimeoutError] when timeout is reached
375375
#
376376
# @!macro agent_await_warning
377377
def await_for!(timeout)
@@ -477,7 +477,7 @@ def await_for(timeout, *agents)
477477
# @param [Array<Concurrent::Agent>] agents the Agents on which to wait
478478
# @return [Boolean] true if all actions complete before timeout
479479
#
480-
# @raise [Concurrent::TimeoutError] when timout is reached
480+
# @raise [Concurrent::TimeoutError] when timeout is reached
481481
# @!macro agent_await_warning
482482
def await_for!(timeout, *agents)
483483
raise Concurrent::TimeoutError unless await_for(timeout, *agents)

0 commit comments

Comments
 (0)