summaryrefslogtreecommitdiffhomepage
path: root/go.html.markdown
diff options
context:
space:
mode:
authortsasser05 <28053338+tsasser05@users.noreply.github.com>2021-11-27 15:21:17 -0500
committerGitHub <noreply@github.com>2021-11-27 21:21:17 +0100
commit5ecf1a3bbafd5726e1cc90ff04db55fba42a86b9 (patch)
tree6f997660787e038a160614486e37ca347fc6f0c7 /go.html.markdown
parent20ed6195324c84e2001a775c84abb59a5d207267 (diff)
Update documentation for expensiveComputation() (#4269)
Added comment for clarity
Diffstat (limited to 'go.html.markdown')
-rw-r--r--go.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.html.markdown b/go.html.markdown
index 5a9214b0..2a3fae8e 100644
--- a/go.html.markdown
+++ b/go.html.markdown
@@ -190,6 +190,7 @@ func learnMemory() (p, q *int) {
return &s[3], &r // & takes the address of an object.
}
+// Use the aliased math library (see imports, above)
func expensiveComputation() float64 {
return m.Exp(10)
}