This commit is contained in:
Dongjia "toka" Zhang 2023-03-26 17:37:44 +09:00 committed by GitHub
parent 0c9933c3e4
commit 702f163c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ impl NyxHelper {
}
/// Set a timeout for Nyx
pub fn set_timeout(mut self, time: Duration) {
pub fn set_timeout(&mut self, time: Duration) {
let sec: u8 = time
.as_secs()
.try_into()