Remove duplicate method (retag) (#2147)

This commit is contained in:
Arash Outadi
2020-07-10 03:21:13 -07:00
committed by GitHub
parent b1b93931cb
commit 6a89b1b010
2 changed files with 14 additions and 19 deletions

View File

@ -48,14 +48,6 @@ pub enum UntaggedValue {
}
impl UntaggedValue {
/// Tags an UntaggedValue so that it can become a Value
pub fn retag(self, tag: impl Into<Tag>) -> Value {
Value {
value: self,
tag: tag.into(),
}
}
/// Get the corresponding descriptors (column names) associated with this value
pub fn data_descriptors(&self) -> Vec<String> {
match self {