Skip to content

Initial API defs

Initial API defs #11

GitHub Actions / clippy failed Mar 12, 2024 in 0s

clippy

3 errors

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 48 in src/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `load_toml` is never used

error: function `load_toml` is never used
  --> src/api.rs:48:4
   |
48 | fn load_toml(path: &Path) -> Result<Value, ApiError> {
   |    ^^^^^^^^^

Check failure on line 35 in src/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `merge_toml` is never used

error: function `merge_toml` is never used
  --> src/api.rs:35:4
   |
35 | fn merge_toml(into: &mut Value, from: Value) {
   |    ^^^^^^^^^^

Check failure on line 18 in src/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `load_api` is never used

error: function `load_api` is never used
  --> src/api.rs:18:15
   |
18 | pub(crate) fn load_api<State, Error>(
   |               ^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`