Skip to content

Commit 150784c

Browse files
Linting fix
1 parent f69f4db commit 150784c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

crates/bindings-csharp/Codegen/Module.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,8 @@ private static ITypeSymbol UnwrapNullable(ITypeSymbol type) =>
167167
{
168168
OriginalDefinition.SpecialType: SpecialType.System_Nullable_T
169169
} nullable => nullable.TypeArguments[0],
170-
_ when type.NullableAnnotation == NullableAnnotation.Annotated => type.WithNullableAnnotation(
171-
NullableAnnotation.None
172-
),
170+
_ when type.NullableAnnotation == NullableAnnotation.Annotated =>
171+
type.WithNullableAnnotation(NullableAnnotation.None),
173172
_ => type,
174173
};
175174

0 commit comments

Comments
 (0)