Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused imports in examples/rekor #162

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Commits on Nov 15, 2022

  1. Remove unused imports in examples/rekor

    Currently, the following compiler warnings are being generated when
    building/running the tests:
    
    $ cargo t --no-run
       Compiling sigstore v0.5.3 (/sigstore/sigstore-rs)
    warning: unused import: `url::Url`
      --> examples/rekor/search_log_query/main.rs:23:5
       |
    23 | use url::Url;
       |     ^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default
    
    warning: `sigstore` (example "search_log_query") generated 1 warning
    warning: unused import: `url::Url`
      --> examples/rekor/create_log_entry/main.rs:21:5
       |
    21 | use url::Url;
       |     ^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default
    
    warning: `sigstore` (example "create_log_entry") generated 1 warning
        Finished test [unoptimized + debuginfo] target(s) in 28.87s
         Running unittests src/lib.rs
             (target/debug/deps/sigstore-d3c3b8a9595aed6d)
    
    This commit removes the two imports.
    
    Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
    danbev committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    6419e0f View commit details
    Browse the repository at this point in the history