Skip to content

Commit

Permalink
fix import not in feature cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 2, 2024
1 parent 91c0efc commit 4b91f05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ use serde::{de::Visitor, Deserialize, Serialize};
use std::{error::Error, fmt, str::FromStr};

#[cfg(feature = "python")]
use pyo3::pyclass;
use pyo3::pymethods;
use pyo3::{pyclass, pymethods};

/// Represents an attribute with various properties and options.
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
Expand Down

0 comments on commit 4b91f05

Please sign in to comment.