mirror of
https://github.com/Paoda/blue-gacha.git
synced 2025-11-06 22:52:10 +00:00
fix: improve type signatures of some methods
This commit is contained in:
@@ -37,15 +37,15 @@ fn main() {
|
||||
|
||||
let gacha = GachaBuilder::new(ONE_STAR_RATE, TWO_STAR_RATE, THREE_STAR_RATE)
|
||||
.with_pool(students)
|
||||
.with_priority(&priority)
|
||||
.with_priority(priority)
|
||||
.finish()
|
||||
.unwrap();
|
||||
|
||||
// I'm some N5 loser don't judge too hard pls...
|
||||
let banner = BannerBuilder::new("不運ですね。")
|
||||
.with_name_translation(Language::English, "Unlucky, right?")
|
||||
.with_sparkable_students(&sparkable)
|
||||
.with_gacha(&gacha)
|
||||
.with_sparkable_students(sparkable)
|
||||
.with_gacha(gacha)
|
||||
.finish()
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user