Skip to content

Commit 945b37e

Browse files
committed
chore(fzn-rs): Remove commented code
1 parent be0d583 commit 945b37e

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

fzn-rs/src/typed/flatzinc_annotation.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85,26 +85,6 @@ impl<T: FromAnnotationLiteral> FromAnnotationArgument for T {
8585
}
8686
}
8787

88-
// impl<T: FromAnnotationLiteral> FromAnnotationArgument for ArrayExpr<T> {
89-
// fn from_argument(argument: &ast::Node<ast::AnnotationArgument>) -> Result<Self, InstanceError> {
90-
// match &argument.node {
91-
// ast::AnnotationArgument::Array(array) => {
92-
// let contents =
93-
// array
94-
// .iter()
95-
// .map(|literal| T::from_literal(literal))
96-
// .collect();
97-
// ArrayExpr,
98-
//
99-
// node => Err(InstanceError::UnexpectedToken {
100-
// expected: Token::Array,
101-
// actual: node.into(),
102-
// span: argument.span,
103-
// }),
104-
// }
105-
// }
106-
// }
107-
10888
/// Parse an [`ast::AnnotationArgument`] as an annotation. This needs to be a separate trait from
10989
/// [`FromAnnotationArgument`] so it does not collide wiith implementations for literals.
11090
pub trait FromNestedAnnotation: Sized {

0 commit comments

Comments
 (0)