Fix Overlord Clippy's issues.
This commit is contained in:
parent
72e916c764
commit
1e9aa887f7
|
@ -55,7 +55,7 @@ pub struct Feed {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An enum for [`Feed`]s for which option was used in the CLI.
|
/// An enum for [`Feed`]s for which option was used in the CLI.
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, Eq, PartialEq)]
|
||||||
pub enum FeedOption {
|
pub enum FeedOption {
|
||||||
/// `-a, --appid <APPID>` was used.
|
/// `-a, --appid <APPID>` was used.
|
||||||
AppID,
|
AppID,
|
||||||
|
@ -133,8 +133,10 @@ fn main() -> Result<()> {
|
||||||
feeds_to_output = potential_feeds;
|
feeds_to_output = potential_feeds;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut opml_document = opml::OPML::default();
|
let mut opml_document = opml::OPML {
|
||||||
opml_document.head = None;
|
head: None,
|
||||||
|
..Default::default()
|
||||||
|
};
|
||||||
|
|
||||||
for feed in feeds_to_output {
|
for feed in feeds_to_output {
|
||||||
if args.opml {
|
if args.opml {
|
||||||
|
|
Loading…
Reference in New Issue