Skip to content

Commit

Permalink
update others
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Dec 20, 2021
1 parent 0d03de9 commit a3f83b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/plurals/src/rules/runtime/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ mod serde {
let string: String = self.to_string();
serializer.serialize_str(&string)
} else {
serializer.serialize_bytes(self.0.as_encoded_bytes())
serializer.serialize_bytes(self.0.as_bytes())
}
}
}
Expand Down Expand Up @@ -634,7 +634,7 @@ mod test {
let relations = alloc::vec![relation];
let vzv = VarZeroVec::from(relations.as_slice());
assert_eq!(
vzv.as_encoded_bytes(),
vzv.as_bytes(),
&[1, 0, 0, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0]
);
}
Expand Down

0 comments on commit a3f83b3

Please sign in to comment.