3 ms·
> A function which only returns an error can have its result ignored without any warning. It should perhaps be an error to not assign an error to a variable. I
by tomlu 7y ago
> A function which only returns an error can have its result ignored without any warning.
It should perhaps be an error to not assign an error to a variable. Internally, Google has linters that enforce this.