mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-06 16:07:26 +08:00
style: 移除未使用的 use
This commit is contained in:
@@ -22,16 +22,6 @@ pub struct Credential {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Credential {
|
impl Credential {
|
||||||
pub fn new(sessdata: String, bili_jct: String, buvid3: String, dedeuserid: String, ac_time_value: String) -> Self {
|
|
||||||
Self {
|
|
||||||
sessdata,
|
|
||||||
bili_jct,
|
|
||||||
buvid3,
|
|
||||||
dedeuserid,
|
|
||||||
ac_time_value,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const fn empty() -> Self {
|
const fn empty() -> Self {
|
||||||
Self {
|
Self {
|
||||||
sessdata: String::new(),
|
sessdata: String::new(),
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
pub use analyzer::{AudioQuality, BestStream, FilterOption, PageAnalyzer, VideoCodecs, VideoQuality};
|
pub use analyzer::{BestStream, FilterOption};
|
||||||
pub use client::{BiliClient, Client};
|
pub use client::{BiliClient, Client};
|
||||||
pub use credential::Credential;
|
pub use credential::Credential;
|
||||||
pub use error::BiliError;
|
pub use error::BiliError;
|
||||||
|
|||||||
Reference in New Issue
Block a user