You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -373,13 +379,17 @@ public enum ResultConvention : CustomStringConvertible {
373
379
case owned
374
380
375
381
/// The caller is responsible for using the returned address within a valid
376
-
/// scope. This is valid only for borrow and mutate accessors.
382
+
/// scope. This is valid only for borrow accessors.
377
383
case guaranteedAddress
378
384
379
385
/// The caller is responsible for using the returned value within a valid
380
386
/// scope. This is valid only for borrow accessors.
381
387
case guaranteed
382
388
389
+
/// The caller is responsible for mutating the returned address within a valid
390
+
/// scope. This is valid only for mutate accessors.
391
+
case `inout`
392
+
383
393
/// The caller is not responsible for destroying this return value. Its type may be trivial, or it may simply be offered unsafely. It is valid at the instant of the return, but further operations may invalidate it.
384
394
case unowned
385
395
@@ -423,6 +433,8 @@ public enum ResultConvention : CustomStringConvertible {
0 commit comments