mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 23:26:19 +00:00
Fix up variable naming in serialize_unresolved_minimal
This commit is contained in:
@@ -77,11 +77,11 @@ impl SourceProject {
|
|||||||
///
|
///
|
||||||
/// This holds true for other values that might be ambiguous or just have more
|
/// This holds true for other values that might be ambiguous or just have more
|
||||||
/// complicated representations like enums.
|
/// complicated representations like enums.
|
||||||
fn serialize_unresolved_minimal<S>(value: &UnresolvedRbxValue, serializer: S) -> Result<S::Ok, S::Error>
|
fn serialize_unresolved_minimal<S>(unresolved: &UnresolvedRbxValue, serializer: S) -> Result<S::Ok, S::Error>
|
||||||
where S: Serializer
|
where S: Serializer
|
||||||
{
|
{
|
||||||
match value {
|
match unresolved {
|
||||||
UnresolvedRbxValue::Ambiguous(_) => value.serialize(serializer),
|
UnresolvedRbxValue::Ambiguous(_) => unresolved.serialize(serializer),
|
||||||
UnresolvedRbxValue::Concrete(concrete) => {
|
UnresolvedRbxValue::Concrete(concrete) => {
|
||||||
match concrete {
|
match concrete {
|
||||||
RbxValue::Bool { value } => value.serialize(serializer),
|
RbxValue::Bool { value } => value.serialize(serializer),
|
||||||
|
|||||||
Reference in New Issue
Block a user