Skip to content

Commit 2d23ea6

Browse files
pmerManishearth
authored andcommitted
doc: Use "macOS" terminology consistently
One line in the documentation used the term macOS while the other six used OSX. Be consistent and use the name current product brand of macOS.
1 parent 1b8cf5f commit 2d23ea6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ command line using `--cfg` (e.g. `rustc main.rs --cfg foo --cfg 'bar="baz"'`).
219219
Rust code then checks for their presence using the `#[cfg(...)]` attribute:
220220

221221
```
222-
// The function is only included in the build when compiling for OSX
222+
// The function is only included in the build when compiling for macOS
223223
#[cfg(target_os = "macos")]
224224
fn macos_only() {
225225
// ...

src/linkage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ be ignored in favor of only building the artifacts specified by command line.
4646
* `--crate-type=cdylib`, `#[crate_type = "cdylib"]` - A dynamic system
4747
library will be produced. This is used when compiling Rust code as
4848
a dynamic library to be loaded from another language. This output type will
49-
create `*.so` files on Linux, `*.dylib` files on OSX, and `*.dll` files on
49+
create `*.so` files on Linux, `*.dylib` files on macOS, and `*.dll` files on
5050
Windows.
5151

5252
* `--crate-type=rlib`, `#[crate_type = "rlib"]` - A "Rust library" file will be

0 commit comments

Comments
 (0)