Change type of 'desc' parameter to '&str'

This commit is contained in:
Dr. Dystopia 2021-06-11 15:30:45 +02:00
parent fc4d17ce2a
commit 4d2e315a74

View File

@ -439,7 +439,7 @@ impl<'a> BuffsBar<'a> {
buffs_tooltip: &Tooltip,
id: &conrod_core::widget::id::Id,
timer_id: &conrod_core::widget::id::Id,
desc: &String,
desc: &str,
title_col: Color,
) -> TimesClicked {
let max_duration = buff.data.duration;