Skip to content

hacky autosave on each change, for now just dump it all in autosave.json #264

hacky autosave on each change, for now just dump it all in autosave.json

hacky autosave on each change, for now just dump it all in autosave.json #264

GitHub Actions / clippy succeeded Oct 12, 2023 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 138 in src/gui_egui/editor.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `default` can be confused for the standard trait method `std::default::Default::default`

warning: method `default` can be confused for the standard trait method `std::default::Default::default`
   --> src/gui_egui/editor.rs:81:5
    |
81  | /     pub fn default() -> Library {
82  | |         let dummy_input = Input::new("id", "field");
83  | |         let library: Components = vec![
84  | |             Rc::new(Add {
...   |
137 | |         Library(library)
138 | |     }
    | |_____^
    |
    = help: consider implementing the trait `std::default::Default` or choosing a less ambiguous method name
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
    = note: `#[warn(clippy::should_implement_trait)]` on by default