1
0
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:
2021-04-14 02:12:18 -05:00
parent 3c47ec8d4f
commit d5df9d4d30
3 changed files with 14 additions and 9 deletions

View File

@@ -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();