Repeated assignments in Flux documentation

In several examples of the Optimizer Reference section of the Flux docs, there is an assignment without arguments followed by the same assignment with arguments. For example, for Flux.Optimise.Descent we have

opt = Descent()

opt = Descent(0.3)


I don’t know the reason for that, and I can’t find the reason in the docs themselves.

I’m guessing it’s just showing that you can use Descent() with a default learning rate (parameter η, which defaults to 0.1 in this case), or you can specify your own.