Skip to content

Commit 75579cc

Browse files
committed
---
yaml --- r: 224506 b: refs/heads/beta c: dba548d h: refs/heads/master v: v3
1 parent 5bb246c commit 75579cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 04578f6611ca5da47b23fa0d10381f7858b3a325
26+
refs/heads/beta: dba548d3634d1f69b6210b642e700c2c41e69ce9
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/doc/tarpl/repr-rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ struct FooRepr {
109109

110110
And indeed this is approximately how it would be laid out in general
111111
(modulo the size and position of `tag`). However there are several cases where
112-
such a representation is ineffiecient. The classic case of this is Rust's
112+
such a representation is inefficient. The classic case of this is Rust's
113113
"null pointer optimization". Given a pointer that is known to not be null
114114
(e.g. `&u32`), an enum can *store* a discriminant bit *inside* the pointer
115115
by using null as a special value. The net result is that
@@ -121,4 +121,4 @@ nested enums pooling their tags into a single descriminant, as they are by
121121
definition known to have a limited range of valid values. In principle enums can
122122
use fairly elaborate algorithms to cache bits throughout nested types with
123123
special constrained representations. As such it is *especially* desirable that
124-
we leave enum layout unspecified today.
124+
we leave enum layout unspecified today.

0 commit comments

Comments
 (0)