mirror of
https://github.com/Dangoware/dango-music-player.git
synced 2025-04-19 10:02:53 -05:00
fixed warnings
This commit is contained in:
parent
1f831f4f6d
commit
9c0c787229
2 changed files with 6 additions and 6 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -1,12 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "kushi"
|
name = "kushi"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
|
||||||
description = "A queue built for the Dango Music Player and Oden"
|
|
||||||
readme = "README.md"
|
|
||||||
homepage = "https://github.com/Dangoware/kushi-queue"
|
|
||||||
repository = "https://github.com/Dangoware/kushi-queue"
|
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
description = "A queue built for the Dango Music Player and Oden"
|
||||||
|
homepage = "https://github.com/Dangoware/kushi-queue"
|
||||||
|
edition = "2021"
|
||||||
|
readme = "README.md"
|
||||||
|
repository = "https://github.com/Dangoware/kushi-queue"
|
||||||
keywords = ["queue","music","vec", "dmp"]
|
keywords = ["queue","music","vec", "dmp"]
|
||||||
categories = ["data-structures"]
|
categories = ["data-structures"]
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ impl<
|
||||||
QueueItem<T, U, L> {
|
QueueItem<T, U, L> {
|
||||||
pub fn from_item_type(item: QueueItemType<T, U>, source: Option<L>) -> Self {
|
pub fn from_item_type(item: QueueItemType<T, U>, source: Option<L>) -> Self {
|
||||||
QueueItem {
|
QueueItem {
|
||||||
item: item,
|
item,
|
||||||
state: QueueState::NoState,
|
state: QueueState::NoState,
|
||||||
source,
|
source,
|
||||||
by_human: false,
|
by_human: false,
|
||||||
|
|
Loading…
Reference in a new issue