Skip to content

Commit

Permalink
fixup! feat: Add version log
Browse files Browse the repository at this point in the history
---

Added copyright to a file and Fixed the following clippy warnings:

---

warning: this import is redundant
 --> log/build.rs:1:1
  |
1 | use built;
  | ^^^^^^^^^^ help: remove it entirely
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
  = note: `#[warn(clippy::single_component_path_imports)]` on by default

---

warning: this import is redundant
 --> dispatcher/src/main.rs:4:1
  |
4 | use log;
  | ^^^^^^^^ help: remove it entirely
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
  = note: `#[warn(clippy::single_component_path_imports)]` on by default
  • Loading branch information
marcelstanley committed Sep 29, 2023
1 parent dabd72f commit db58347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions offchain/dispatcher/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// (c) Cartesi and individual authors (see AUTHORS)
// SPDX-License-Identifier: Apache-2.0 (see LICENSE)

use log;

// NOTE: doesn't support History upgradability.
// NOTE: doesn't support changing epoch_duration in the middle of things.
#[tokio::main]
Expand Down
3 changes: 2 additions & 1 deletion offchain/log/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use built;
// (c) Cartesi and individual authors (see AUTHORS)
// SPDX-License-Identifier: Apache-2.0 (see LICENSE)

pub(crate) fn main() {
built::write_built_file()
Expand Down

0 comments on commit db58347

Please sign in to comment.