From ddc64def0f3e8cfdd5e6705e5f1c454a8d5e24d4 Mon Sep 17 00:00:00 2001 From: griesemer Date: Tue, 17 Oct 2017 13:38:10 -0700 Subject: [PATCH] spec: explicitly state the import path for package unsafe Nowhere in the spec did we mention the import path for package unsafe. Now we do. Fixes #22308. Change-Id: Ifd42c873188e898c597cdee4284e7a9d234a9282 Reviewed-on: https://go-review.googlesource.com/71373 Reviewed-by: Ian Lance Taylor Reviewed-by: Rob Pike Reviewed-by: Matthew Dempsky --- doc/go_spec.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 9962fa1c41..6189db5ee6 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -6459,7 +6459,8 @@ type Error interface {

Package unsafe

-The built-in package unsafe, known to the compiler, +The built-in package unsafe, known to the compiler +and accessible through the import path "unsafe", provides facilities for low-level programming including operations that violate the type system. A package using unsafe must be vetted manually for type safety and may not be portable. -- 2.48.1