Skip to content

Commit 59a254a

Browse files
committed
Just some typo fixes.
1 parent 766d54d commit 59a254a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/comp/back/link.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ mod write {
209209
*
210210
* There are a few issues to handle:
211211
*
212-
* - Linkers operate on a flat namespace, so we have to flatten names.
212+
* - Linnkers operate on a flat namespace, so we have to flatten names.
213213
* We do this using the C++ namespace-mangling technique. Foo::bar
214214
* symbols and such.
215215
*
@@ -221,15 +221,15 @@ mod write {
221221
* symbols in the same process before you're even hitting birthday-paradox
222222
* collision probability.
223223
*
224-
* - Symbols in dirrerent crates but with same names "within" the crate need
224+
* - Symbols in different crates but with same names "within" the crate need
225225
* to get different linkage-names.
226226
*
227227
* So here is what we do:
228228
*
229229
* - Separate the meta tags into two sets: exported and local. Only work with
230230
* the exported ones when considering linkage.
231231
*
232-
* - Consider two exported tags as special (and madatory): name and vers.
232+
* - Consider two exported tags as special (and mandatory): name and vers.
233233
* Every crate gets them; if it doesn't name them explicitly we infer them
234234
* as basename(crate) and "0.1", respectively. Call these CNAME, CVERS.
235235
*

0 commit comments

Comments
 (0)