Loading xylem-lib/Cargo.toml +5 −0 Original line number Diff line number Diff line Loading @@ -43,3 +43,8 @@ assert_cmd = "2.1.1" [lints.rust] unsafe_code = "forbid" [lints.clippy] std_instead_of_core = "warn" std_instead_of_alloc = "warn" alloc_instead_of_core = "warn" xylem-lib/src/lib.rs +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ impl PartialEq for Details { (self.description == other.description) && (self.condition == other.condition) } } impl std::ops::Deref for PyProjectToml { impl core::ops::Deref for PyProjectToml { type Target = pyproject_toml::PyProjectToml; fn deref(&self) -> &Self::Target { Loading xylem-lib/src/script/mod.rs +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ use serde::ser::StdError; use serde::{Deserialize, Serialize}; use serde_json::{Map, Number, Value}; use std::collections::HashMap; use std::convert::TryFrom; use core::convert::TryFrom; use std::env::{set_var, vars}; use std::ffi::OsStr; use std::io::{BufRead, BufReader}; Loading Loading
xylem-lib/Cargo.toml +5 −0 Original line number Diff line number Diff line Loading @@ -43,3 +43,8 @@ assert_cmd = "2.1.1" [lints.rust] unsafe_code = "forbid" [lints.clippy] std_instead_of_core = "warn" std_instead_of_alloc = "warn" alloc_instead_of_core = "warn"
xylem-lib/src/lib.rs +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ impl PartialEq for Details { (self.description == other.description) && (self.condition == other.condition) } } impl std::ops::Deref for PyProjectToml { impl core::ops::Deref for PyProjectToml { type Target = pyproject_toml::PyProjectToml; fn deref(&self) -> &Self::Target { Loading
xylem-lib/src/script/mod.rs +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ use serde::ser::StdError; use serde::{Deserialize, Serialize}; use serde_json::{Map, Number, Value}; use std::collections::HashMap; use std::convert::TryFrom; use core::convert::TryFrom; use std::env::{set_var, vars}; use std::ffi::OsStr; use std::io::{BufRead, BufReader}; Loading