Skip to content

Commit f5e6a9f

Browse files
committed
Fix nightly clippy lints
1 parent 1a36e36 commit f5e6a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hostfxr/library2_1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ impl Hostfxr {
184184
}
185185

186186
thread_local! {
187-
static GET_AVAILABLE_SDKS_DATA: RefCell<Option<Vec<PathBuf>>> = RefCell::new(None);
188-
static RESOLVE_SDK2_DATA: RefCell<Option<ResolveSdkResult>> = RefCell::new(None);
187+
static GET_AVAILABLE_SDKS_DATA: RefCell<Option<Vec<PathBuf>>> = const { RefCell::new(None) };
188+
static RESOLVE_SDK2_DATA: RefCell<Option<ResolveSdkResult>> = const { RefCell::new(None) };
189189
}
190190

191191
extern "C" fn get_available_sdks_callback(sdk_count: i32, sdks_ptr: *const *const char_t) {

0 commit comments

Comments
 (0)