Skip to content

Add IPGEO to DFP rules endpoint (#58) #44

Add IPGEO to DFP rules endpoint (#58)

Add IPGEO to DFP rules endpoint (#58) #44

GitHub Actions / clippy succeeded Feb 20, 2025 in 0s

clippy

8 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 8
Note 0
Help 0

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 95 in src/consumer/fraud.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/consumer/fraud.rs:95:9
   |
95 |     /// privileged action to proceed
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
95 |     ///     privileged action to proceed
   |         ++++

Check warning on line 94 in src/consumer/fraud.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/consumer/fraud.rs:94:9
   |
94 |     /// increased friction such as 2FA or other forms of extended user verification before allowing the
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
94 |     ///     increased friction such as 2FA or other forms of extended user verification before allowing the
   |         ++++

Check warning on line 92 in src/consumer/fraud.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/consumer/fraud.rs:92:9
   |
92 |     /// from completing the privileged action in question
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
92 |     ///     from completing the privileged action in question
   |         ++++

Check warning on line 90 in src/consumer/fraud.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/consumer/fraud.rs:90:9
   |
90 |     /// the characteristics of known/authentic traffic origins
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
90 |     ///     the characteristics of known/authentic traffic origins
   |         ++++

Check warning on line 89 in src/consumer/fraud.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/consumer/fraud.rs:89:9
   |
89 |     /// listed set of known devices by Stytch. This grouping is made up of verified device profiles that match
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
89 |     ///     listed set of known devices by Stytch. This grouping is made up of verified device profiles that match
   |         ++++

Check warning on line 107 in src/client.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are explicitly cloning with `.map()`

warning: you are explicitly cloning with `.map()`
   --> src/client.rs:96:9
    |
96  | /         self.jwks
97  | |             .get_or_try_init(move || async move {
98  | |                 self.send::<_, Jwks>(crate::Request {
99  | |                     method: http::Method::GET,
...   |
106 | |             .await
107 | |             .map(Jwks::clone)
    | |_____________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
    = note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
    |
96  ~         self.jwks
97  +             .get_or_try_init(move || async move {
98  +                 self.send::<_, Jwks>(crate::Request {
99  +                     method: http::Method::GET,
100 +                     path: self.jwks_url.clone(),
101 +                     body: (),
102 +                 })
103 +                 .await
104 +                 .map_err(|_| crate::Error::FetchJwks)
105 +             })
106 +             .await.cloned()
    |

Check warning on line 137 in src/b2b/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/b2b/organizations.rs:137:9
    |
137 |     ///   Member's primary email address and the old primary email address is retired.
    |         ^^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
137 |     ///     Member's primary email address and the old primary email address is retired.
    |           ++

Check warning on line 136 in src/b2b/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/b2b/organizations.rs:136:9
    |
136 |     /// address becomes the
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
    = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
    |
136 |     ///     address becomes the
    |         ++++