syntactic changes: remove unneeded paths when the type is already imported

This commit is contained in:
Jorge López 2025-01-18 18:29:12 +01:00
parent a48c9033e2
commit 86a4714711
No known key found for this signature in database
GPG key ID: F8D6CEBC4788D6A1
26 changed files with 263 additions and 292 deletions

View file

@ -195,7 +195,7 @@ pub enum ScalarFunc {
}
impl Display for ScalarFunc {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let str = match self {
Self::Cast => "cast".to_string(),
Self::Changes => "changes".to_string(),
@ -324,7 +324,7 @@ impl MathFunc {
}
impl Display for MathFunc {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let str = match self {
Self::Acos => "acos".to_string(),
Self::Acosh => "acosh".to_string(),