Skip to content

Commit 3f4f5c4

Browse files
committed
Fix a typo.
1 parent 7e70748 commit 3f4f5c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/user/truffleruby-additions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ TruffleRuby provides these non-standard methods and classes that provide additio
6060

6161
### Concurrent Maps
6262

63-
`TruffleRuby::ConcurrentMap` is a key-value data structure, like a `Hash` and using `#hash` and `#eql?` to compare keys and identity to compare values. Unlike `Hash` it is unordered. All methods on `TruffleRuby::ConcurrentMap` are thread-safe but should have higher concurrency than a fully syncronized implementation. It is intended to be used by gems such as [`concurrent-ruby`](https://github.com/ruby-concurrency/concurrent-ruby) - please use via this gem rather than using directly.
63+
`TruffleRuby::ConcurrentMap` is a key-value data structure, like a `Hash` and using `#hash` and `#eql?` to compare keys and identity to compare values. Unlike `Hash` it is unordered. All methods on `TruffleRuby::ConcurrentMap` are thread-safe but should have higher concurrency than a fully synchronized implementation. It is intended to be used by gems such as [`concurrent-ruby`](https://github.com/ruby-concurrency/concurrent-ruby) - please use via this gem rather than using directly.
6464

6565
* `map = TruffleRuby::ConcurrentMap.new([initial_capacity: ...], [load_factor: ...])`
6666

spec/ruby/core/io/new_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../../spec_helper'
22
require_relative 'shared/new'
33

4-
# NOTE: should be syncronized with library/stringio/initialize_spec.rb
4+
# NOTE: should be synchronized with library/stringio/initialize_spec.rb
55

66
describe "IO.new" do
77
it_behaves_like :io_new, :new

spec/ruby/core/io/shared/new.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require_relative '../fixtures/classes'
22

3-
# NOTE: should be syncronized with library/stringio/initialize_spec.rb
3+
# NOTE: should be synchronized with library/stringio/initialize_spec.rb
44

55
# This group of specs may ONLY contain specs that do successfully create
66
# an IO instance from the file descriptor returned by #new_fd helper.

0 commit comments

Comments
 (0)