Where is meaning of the More keyword in Rust?

Recently, I just read some code like below, but I can not find anything about More keywords in the API, what's the meaning of More in Rust?

pub struct List {
    head: Link,
}

enum Link {
    Empty,
    More(Box<Node>),
}

struct Node {
    elem: i32,
    next: Link,
}
1 Like

More isn't a keyword, it's just the name that the author chose for one of the variants of the Link enum.

See the chapter on enums for details.

3 Likes

Thanks very much! I got it.