rust/library
Dylan DPC b183ef2068
Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dtolnay
Static mutex is static

StaticMutex is only ever used with as a static (as the name already suggests). So it doesn't have to be generic over a lifetime, but can simply assume 'static.

This 'static lifetime guarantees the object is never moved, so this is no longer a manually checked requirement for unsafe calls to lock().

@rustbot modify labels: +T-libs +A-concurrency +C-cleanup
2020-10-16 02:10:15 +02:00
..
2020-10-15 16:57:19 +02:00
2020-10-11 13:52:20 -04:00
2020-10-01 13:06:22 -04:00
2020-10-09 13:24:05 +02:00