rust-by-example-cn icon indicating copy to clipboard operation
rust-by-example-cn copied to clipboard

Translate advice

Open weaming opened this issue 7 years ago • 3 comments

The enum keyword allows the creation of a type which may be one of a few different variants.

这句中 variant 可翻译为变种。

weaming avatar Jul 13 '17 12:07 weaming

整句话你觉得翻译成怎样好些呢

aaranxu avatar Oct 03 '17 18:10 aaranxu

enum关键字允许创建可代表一个或多个变种的通用类型

粗体是意译加上的额外词语

weaming avatar Oct 18 '17 02:10 weaming

enum 關鍵字可用於創建類型,(與 struct 不同,)它創建的類型能夠包含多個變種。

MROS avatar Oct 03 '18 13:10 MROS