Skip to content

Add another link.

Add another link. #496

Triggered via push August 8, 2024 12:33
Status Success
Total duration 1m 1s
Artifacts 1

package.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
manual implementation of `Option::map`: src/importers/icalendar.rs#L225
warning: manual implementation of `Option::map` --> src/importers/icalendar.rs:225:12 | 225 | } else if let Some(attendee) = event | ____________^ 226 | | .multi_properties() 227 | | .get("ATTENDEE") 228 | | .and_then(|attendees| attendees.first()) ... | 232 | | None 233 | | }; | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `#[warn(clippy::manual_map)]` on by default help: try | 225 ~ } else { event 226 + .multi_properties() 227 + .get("ATTENDEE") 228 ~ .and_then(|attendees| attendees.first()).map(|attendee| attendee.value().to_owned()) }; |
you seem to be trying to use `match` for an equality check. Consider using `if`: src/importers/icalendar/balfolknl.rs#L137
warning: you seem to be trying to use `match` for an equality check. Consider using `if` --> src/importers/icalendar/balfolknl.rs:137:9 | 137 | / match event.city.as_str() { 138 | | "Lent" => event.city = "Nijmegen".to_string(), 139 | | _ => {} 140 | | } | |_________^ help: try: `if event.city.as_str() == "Lent" { event.city = "Nijmegen".to_string() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: src/importers/icalendar/balfolknl.rs#L135
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/importers/icalendar/balfolknl.rs:135:35 | 135 | event.name = shorten_name(&raw_name); | ^^^^^^^^^ help: change this to: `raw_name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default

Artifacts

Produced during runtime
Name Size
debian-packages
3.46 MB