drop into_iter in some places

This commit is contained in:
Folkert 2023-10-07 15:30:25 +02:00
parent e6a154765c
commit 6ab54c02e2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
9 changed files with 21 additions and 21 deletions

View file

@ -2237,7 +2237,7 @@ fn update<'a>(
// If we're building an app module, and this was the platform
// specified in its header's `to` field, record it as our platform.
if state.opt_platform_shorthand == Some(config_shorthand) {
debug_assert!(matches!(state.platform_data, None));
debug_assert!(state.platform_data.is_none());
state.platform_data = Some(PlatformData {
module_id: header.module_id,