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 +384,17 @@ public enum ResultConvention : CustomStringConvertible {
373
384
case owned
374
385
375
386
/// The caller is responsible for using the returned address within a valid
376
-
/// scope. This is valid only for borrow and mutate accessors.
387
+
/// scope. This is valid only for borrow accessors.
377
388
case guaranteedAddress
378
389
379
390
/// The caller is responsible for using the returned value within a valid
380
391
/// scope. This is valid only for borrow accessors.
381
392
case guaranteed
382
393
394
+
/// The caller is responsible for mutating the returned address within a valid
395
+
/// scope. This is valid only for mutate accessors.
396
+
case `inout`
397
+
383
398
/// 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
399
case unowned
385
400
@@ -423,6 +438,8 @@ public enum ResultConvention : CustomStringConvertible {
0 commit comments