From e564dfc1ea25b17d31acdafb0225ae9fbd6b5069 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Thu, 8 Aug 2024 11:54:41 +0200 Subject: [PATCH] Set the edition --- Cargo.toml | 1 + src/beta.rs | 4 ++-- src/error.rs | 2 +- src/gamma.rs | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 54a79f98..639df37d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "special" version = "0.11.0" +edition = "2021" license = "Apache-2.0 OR MIT" authors = [ "Abhishek Chanda ", diff --git a/src/beta.rs b/src/beta.rs index 9a7bb528..8c84606c 100644 --- a/src/beta.rs +++ b/src/beta.rs @@ -2,8 +2,8 @@ #![allow(unstable_name_collisions)] #[allow(unused_imports)] -use primitive::Primitive; -use Gamma; +use crate::primitive::Primitive; +use crate::Gamma; /// Beta functions. pub trait Beta { diff --git a/src/error.rs b/src/error.rs index 1ee5ab23..24b1df19 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,4 +1,4 @@ -use primitive::Primitive; +use crate::primitive::Primitive; /// Error functions. pub trait Error { diff --git a/src/gamma.rs b/src/gamma.rs index c834db26..ea06539e 100644 --- a/src/gamma.rs +++ b/src/gamma.rs @@ -1,6 +1,6 @@ #![allow(unstable_name_collisions)] -use primitive::Primitive; +use crate::primitive::Primitive; /// Gamma functions. pub trait Gamma