Skip to content

Commit 28d2aea

Browse files
committed
remove unused code
1 parent 2f9d4d8 commit 28d2aea

File tree

1 file changed

+0
-13
lines changed
  • optd-cost-model/src/common/properties

1 file changed

+0
-13
lines changed

optd-cost-model/src/common/properties/mod.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use super::predicates::constant_pred::ConstantType;
55
pub mod attr_ref;
66
pub mod schema;
77

8-
const DEFAULT_NAME: &str = "unnamed";
9-
108
#[derive(Clone, Debug, Serialize, Deserialize)]
119
pub struct Attribute {
1210
pub name: String,
@@ -23,14 +21,3 @@ impl std::fmt::Display for Attribute {
2321
}
2422
}
2523
}
26-
27-
impl Attribute {
28-
/// Generate a field that is only a place holder whose members are never used.
29-
fn placeholder() -> Self {
30-
Self {
31-
name: DEFAULT_NAME.to_string(),
32-
typ: ConstantType::Binary,
33-
nullable: true,
34-
}
35-
}
36-
}

0 commit comments

Comments
 (0)