commit | 377e7e44d45261638fa07463e102d98b1d55b2ae | [log] [tgz] |
---|---|---|
author | Evan Wildenhain <wildenhain@fuchsia.infra.roller.google.com> | Wed Aug 23 19:28:12 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 23 12:29:47 2023 -0700 |
tree | 09715082923c4c281a9fabb0aab3ca9adb685576 | |
parent | 4d0f4cdc90d4864824d6be72b1fd56597a3818ed [diff] |
[roll] Roll fuchsia [net-types] Transpose nested witness types Adds a `transpose` method on `Witness` that allows nested witness types to be transposed. For example, given `addr: NonMappedAddr<SpecifiedAddr<T>>`, `addr.transpose()` gets you a `SpecifiedAddr<NonMappedAddr<T>>`. As an implementation detail, a `TransposableWitness` trait is introduced that is implemented for all single-layer `Witness` impls in order to aid type inference. However, because the `transpose` method is on `Witness` and not `TransposableWitness`, callsites will not have to bring the `TransposableWitness` trait into scope. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/906369 Original-Revision: 3b0551112a970712bfe22a379de436931c24ddc7 GitOrigin-RevId: 757792744c9f53a63978f9ee0f6ee50694b5d908 Change-Id: I24331bfa525b0e0e0d18bfb38cffe65db9dc9398
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.