From 0aebdaced50eb34f98ce533054d38ee1bf15d209 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Sun, 16 Mar 2014 13:16:46 +0100 Subject: [PATCH] Mention share in guide-unsafe instead of freeze --- src/doc/guide-unsafe.md | 4 ++-- 1 file 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`