|
|
@ -31,8 +31,8 @@ impl fmt::Display for Variable { |
|
|
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
|
|
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
|
|
|
match self { |
|
|
|
match self { |
|
|
|
Variable::Variable { name } => write!(f, "?{}", name), |
|
|
|
Variable::Variable { name } => write!(f, "?{}", name), |
|
|
|
Variable::BlankNode { id } => write!(f, "_:{}", id.simple()), |
|
|
|
Variable::BlankNode { id } => write!(f, "_:{}", id.to_simple()), |
|
|
|
Variable::Internal { id } => write!(f, "?{}", id.simple()), |
|
|
|
Variable::Internal { id } => write!(f, "?{}", id.to_simple()), |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|