aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-25 14:02:57 +0000
committerAria Shrimpton <me@aria.rip>2024-01-25 14:02:57 +0000
commitd5209e79032f45690f0a2806c4c1e4d7a2f6e751 (patch)
tree7c061c094bb33fd9ff606a9fb2eddca76d238d4b
parente1c6e49698c4f99b1a5dc052812780b70868ee00 (diff)
lints
-rw-r--r--src/crates/primrose/src/library_specs.rs1
-rw-r--r--src/crates/primrose/src/types.rs6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/crates/primrose/src/library_specs.rs b/src/crates/primrose/src/library_specs.rs
index 262fa01..35e3705 100644
--- a/src/crates/primrose/src/library_specs.rs
+++ b/src/crates/primrose/src/library_specs.rs
@@ -10,7 +10,6 @@ use std::path::Path;
use log::debug;
-use crate::analysis::EXTRAREQUIRE;
use crate::analysis::REQUIRE;
use crate::spec_map::{Bounds, LibSpecs, ProvidedOps};
diff --git a/src/crates/primrose/src/types.rs b/src/crates/primrose/src/types.rs
index 8d36c03..0d9ccf6 100644
--- a/src/crates/primrose/src/types.rs
+++ b/src/crates/primrose/src/types.rs
@@ -205,9 +205,9 @@ impl TypeVar {
}
}
-impl Into<Type> for TypeVar {
- fn into(self) -> Type {
- Type::Var(self)
+impl From<TypeVar> for Type {
+ fn from(value: TypeVar) -> Self {
+ Type::Var(value)
}
}