mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
242 B
14 lines
242 B
3 years ago
|
// ANCHOR: here
|
||
|
use art::mix;
|
||
|
use art::PrimaryColor;
|
||
|
|
||
|
fn main() {
|
||
|
// --snip--
|
||
|
// ANCHOR_END: here
|
||
|
let red = PrimaryColor::Red;
|
||
|
let yellow = PrimaryColor::Yellow;
|
||
|
mix(red, yellow);
|
||
|
// ANCHOR: here
|
||
|
}
|
||
|
// ANCHOR_END: here
|