Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem committed Sep 27, 2024
1 parent 7573960 commit 2493e85
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions core/benches/arrays.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::rc::Rc;

use criterion::criterion_main;
use nickel_lang_core::term::{
array::{Array, ArrayAttrs},
Expand Down
1 change: 0 additions & 1 deletion core/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use std::ffi::{OsStr, OsString};
use std::fs;
use std::io;
use std::path::{Path, PathBuf};
use std::rc::Rc;
use std::result::Result;
use std::time::SystemTime;
use void::Void;
Expand Down
2 changes: 1 addition & 1 deletion core/src/deserialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use serde::de::{
};

use crate::identifier::LocIdent;
use crate::term::array::{self, Array};
use crate::term::array::Array;
use crate::term::record::Field;
use crate::term::{IndexMap, RichTerm, Term};

Expand Down
2 changes: 1 addition & 1 deletion core/src/eval/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ use md5::digest::Digest;
use simple_counter::*;
use unicode_segmentation::UnicodeSegmentation;

use std::{convert::TryFrom, iter::Extend, rc::Rc};
use std::{convert::TryFrom, iter::Extend};

generate_counter!(FreshVariableCounter, usize);

Expand Down
2 changes: 0 additions & 2 deletions core/src/parser/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::rc::Rc;

use super::lexer::{Lexer, MultiStringToken, NormalToken, StringToken, SymbolicStringStart, Token};
use super::utils::{build_record, FieldPathElem};
use crate::error::ParseError;
Expand Down
2 changes: 1 addition & 1 deletion core/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use malachite::{
};
use once_cell::sync::Lazy;

use std::{fmt, io, rc::Rc};
use std::{fmt, io};

/// Available export formats.
#[derive(Copy, Clone, Eq, PartialEq, Debug, Default, clap::ValueEnum)]
Expand Down

0 comments on commit 2493e85

Please sign in to comment.