rust fails to differentiate between multiplication binary-operator and deference unary-operator, in the context of if-else clauses. because of this we need to wrap if-else clauses in a parenthesis through it becomes clear to the compiler that we expect a return value, and this implies that * means multiplication.
rust fails to differentiate between multiplication binary-operator and deference unary-operator, in the context of if-else clauses. because of this we need to wrap if-else clauses in a parenthesis through it becomes clear to the compiler that we expect a return value, and this implies that * means multiplication.