From: griesemer Date: Tue, 17 Oct 2017 20:38:10 +0000 (-0700) Subject: spec: explicitly state the import path for package unsafe X-Git-Tag: go1.10beta1~676 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ddc64def0f3e8cfdd5e6705e5f1c454a8d5e24d4;p=gostls13.git 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 --- 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.