diff --git a/patterns/behavioural/RAII.md b/patterns/behavioural/RAII.md index f27e6f0..4b3f440 100644 --- a/patterns/behavioural/RAII.md +++ b/patterns/behavioural/RAII.md @@ -5,7 +5,7 @@ [RAII][wikipedia] stands for "Resource Acquisition is Initialisation" which is a terrible name. The essence of the pattern is that resource initialisation is done in the constructor of an object and finalisation in the destructor. This pattern -is extended in Rust by using an RAII object as a guard of some resource and relying +is extended in Rust by using a RAII object as a guard of some resource and relying on the type system to ensure that access is always mediated by the guard object. ## Example