File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -893,7 +893,7 @@ impl Drop for Context {
893
893
}
894
894
}
895
895
896
- /// A `ContextRef` is a smart pointer allowing borrowed access to a a type's `Context`.
896
+ /// A `ContextRef` is a smart pointer allowing borrowed access to a type's `Context`.
897
897
#[ derive( Debug , PartialEq , Eq ) ]
898
898
pub struct ContextRef < ' ctx > {
899
899
context : ManuallyDrop < Context > ,
@@ -912,7 +912,7 @@ impl<'ctx> ContextRef<'ctx> {
912
912
#[ cfg( feature = "experimental" ) ]
913
913
pub fn get ( & self ) -> & ' ctx Context {
914
914
// Safety: Although strictly untrue that a local reference to the context field
915
- // is guarenteed to live for the entirety of 'ctx:
915
+ // is guaranteed to live for the entirety of 'ctx:
916
916
// 1) ContextRef cannot outlive 'ctx
917
917
// 2) Any method called called with this context object will inherit 'ctx,
918
918
// which is its proper lifetime and does not point into this context object
You can’t perform that action at this time.
0 commit comments