mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-09 16:26:53 +02:00
Update documentation for expensiveComputation() (#4269)
Added comment for clarity
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user