doc: rename 'nil' to 'unit' when describing ()#12210
doc: rename 'nil' to 'unit' when describing ()#12210bors merged 1 commit intorust-lang:masterfrom zr40:patch-1
()#12210Conversation
|
I don't know when this type became 'unit' but I guess it's done. |
|
Should probably replace the multitude of |
|
Having |
And your typo there is more evidence. :) I agree with @crazymykl, I think this should get more discussion. |
|
The type theory name for this type is the Unit type, so naming it |
|
Maybe it should be preferred to write |
According to kimundi on IRC, the current term for `()` is 'unit'. This commit updates tutorial.md to change 'nil' to 'unit' where `()` is described.
…71, r=blyxyas Add regression ui test for rust-lang#2371 Fixes rust-lang#2371. rust-lang#2371 seems to already be handled correctly in the lint. This PR adds a ui regression test so we can close it. r? `@blyxyas` changelog: Add regression ui test for rust-lang#2371
According to kimundi on IRC, the current term for
()is 'unit'. This commit updates tutorial.md to change 'nil' to 'unit' where()is described.