Skip to content

Commit 6fdf37e

Browse files
fingolfinKristofferC
authored andcommitted
Replace ⇔ by ↔ in documentation (#52078)
There is no HTML entity `&hArr;` and accordingly all the usual browsers (Chrome, Firefox, Safari) don't render it. My guess is that there is confusion because GitHub supports `&hArr;` and shows it as &hArr; (and `&harr;` as &harr;). But here is for example what Firefox shows: <img width="853" alt="Screen Shot 2023-11-08 at 14 02 01" src="https://github.com/JuliaLang/julia/assets/241512/af7d9e27-a5c3-46c3-94d9-82ed52653cb4"> This patch could be backported to 1.9 and 1.10. (cherry picked from commit 81c4f8e)
1 parent f06a63d commit 6fdf37e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/src/manual/noteworthy-differences.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ For users coming to Julia from R, these are some noteworthy differences:
352352
it's more general than that since methods are dispatched on every argument type, not only `this`,
353353
using the most-specific-declaration rule).
354354

355-
### Julia &hArr; C/C++: Namespaces
355+
### Julia &harr; C/C++: Namespaces
356356
* C/C++ `namespace`s correspond roughly to Julia `module`s.
357357
* There are no private globals or fields in Julia. Everything is publicly accessible
358358
through fully qualified paths (or relative paths, if desired).
@@ -364,7 +364,7 @@ For users coming to Julia from R, these are some noteworthy differences:
364364
* Caveat: `import`/`using` (Julia) works only at the global scope level (`module`s)
365365
* In C++, `using namespace X` works within arbitrary scopes (ex: function scope).
366366

367-
### Julia &hArr; C/C++: Module loading
367+
### Julia &harr; C/C++: Module loading
368368
* When you think of a C/C++ "**library**", you are likely looking for a Julia "**package**".
369369
* Caveat: C/C++ libraries often house multiple "software modules" whereas Julia
370370
"packages" typically house one.
@@ -395,7 +395,7 @@ For users coming to Julia from R, these are some noteworthy differences:
395395
* Directory-based package repositories are the **quickest solution** to developping local
396396
libraries of "software modules".
397397

398-
### Julia &hArr; C/C++: Assembling modules
398+
### Julia &harr; C/C++: Assembling modules
399399
* In C/C++, `.c`/`.cpp` files are compiled & added to a library with build/`make` scripts.
400400
* In Julia, `import [PkgName]`/`using [PkgName]` statements load `[PkgName].jl` located
401401
in a package's `[PkgName]/src/` subdirectory.
@@ -412,9 +412,9 @@ For users coming to Julia from R, these are some noteworthy differences:
412412
Julia package* ("software module"). It is therefore relatively straightforward to ensure
413413
file are `include`d only once (No `#ifdef` confusion).
414414

415-
### Julia &hArr; C/C++: Module interface
416-
* C++ exposes interfaces using "public" `.h`/`.hpp` files whereas Julia `module`s `export`
417-
symbols that are intended for their users.
415+
### Julia &harr; C/C++: Module interface
416+
* C++ exposes interfaces using "public" `.h`/`.hpp` files whereas Julia `module`s mark
417+
specific symbols that are intended for their users as `public`or `export`ed.
418418
* Often, Julia `module`s simply add functionality by generating new "methods" to existing
419419
functions (ex: `Base.push!`).
420420
* Developers of Julia packages therefore cannot rely on header files for interface
@@ -425,7 +425,7 @@ For users coming to Julia from R, these are some noteworthy differences:
425425
* Users might be expected to access these components by qualifying functions/structs/...
426426
with the package/module name (ex: `MyModule.run_this_task(...)`).
427427

428-
### Julia &hArr; C/C++: Quick reference
428+
### Julia &harr; C/C++: Quick reference
429429

430430
| Software Concept | Julia | C/C++ |
431431
| :--- | :--- | :--- |

0 commit comments

Comments
 (0)