---
title: How MutexGuard was Sync When It Should Not Have Been
categories: rust
+reddit: /rust/comments/6gavfe/how_mutexguard_was_sync_when_it_should_not_have/
---
A couple of weeks ago, our ongoing effort to [formalize Rust's type system]({{ site.baseurl }}{% post_url 2015-10-12-formalizing-rust %}) lead to us actually discovering a bug in the Rust standard library: