Remove some unnecessary .into() calls

This commit is contained in:
Esteban Küber
2025-01-08 21:18:46 +00:00
parent a580b5c379
commit eb917ea24d
7 changed files with 11 additions and 13 deletions

View File

@@ -502,7 +502,7 @@ impl Builder {
let id = ThreadId::new();
let my_thread = match name {
Some(name) => Thread::new(id, name.into()),
Some(name) => Thread::new(id, name),
None => Thread::new_unnamed(id),
};