From e91241d1ee92cdc330dd50557bf3cbb48fd1c8e7 Mon Sep 17 00:00:00 2001 From: AngusGMorrison Date: Sun, 5 Nov 2023 11:01:27 +0000 Subject: [PATCH] PR linting --- Cargo.toml | 2 ++ crates/lox_core/src/bodies.rs | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d6637f8..e73037a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,5 +15,7 @@ authors = ["Helge Eichhorn and the lox-space contributors"] [workspace.dependencies] lox_core = { path = "./crates/lox_core" } +lox_io = { path = "./crates/lox_io" } +lox_py = { path = "./crates/lox_py" } thiserror = "1.0" diff --git a/crates/lox_core/src/bodies.rs b/crates/lox_core/src/bodies.rs index 7ac67e69..ddb452e6 100644 --- a/crates/lox_core/src/bodies.rs +++ b/crates/lox_core/src/bodies.rs @@ -12,14 +12,12 @@ pub mod planets; pub mod satellites; pub mod sun; -// Rather than every instance of an Earth object having a function defined on it, there is only -// one empty, zero-sized Earth object which shares static associated functions. pub trait NaifId: Copy { fn id() -> i32; } pub fn naif_id(_: T) -> i32 { - T::id() + ::id() } pub trait Ellipsoid: Copy {