diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2014-03-16 13:16:46 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2014-03-20 10:32:44 +0100 |
| commit | 0aebdaced50eb34f98ce533054d38ee1bf15d209 (patch) | |
| tree | a2ebe154d8569c744e91f010f0eb7cf4b3d2ad23 /src/doc | |
| parent | 598fc75c4d1f3380b6dd7f4888c1d4696e3e361f (diff) | |
| download | rust-0aebdaced50eb34f98ce533054d38ee1bf15d209.tar.gz rust-0aebdaced50eb34f98ce533054d38ee1bf15d209.zip | |
Mention share in guide-unsafe instead of freeze
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/guide-unsafe.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide-unsafe.md b/src/doc/guide-unsafe.md index b085fe21fac..9835e50d547 100644 --- a/src/doc/guide-unsafe.md +++ b/src/doc/guide-unsafe.md @@ -595,10 +595,10 @@ Other features provided by lang items include: - stack unwinding and general failure; the `eh_personality`, `fail_` and `fail_bounds_checks` lang items. - the traits in `std::kinds` used to indicate types that satisfy - various kinds; lang items `send`, `freeze` and `pod`. + various kinds; lang items `send`, `share` and `pod`. - the marker types and variance indicators found in `std::kinds::markers`; lang items `covariant_type`, - `contravariant_lifetime`, `no_freeze_bound`, etc. + `contravariant_lifetime`, `no_share_bound`, etc. Lang items are loaded lazily by the compiler; e.g. if one never uses `~` then there is no need to define functions for `exchange_malloc` |
