Sign in
android
/
platform
/
external
/
rust
/
cxx
/
58cd0c75b48457408a245fed507363fe86a80edd
/
.
/
gen
/
src
/
toposort.rs
blob: 97b10f9dc899e4732716814306618a13ec0cf968 [
file
] [
log
] [
blame
]
use
crate
::
syntax
::{
Api
,
Types
};
use
std
::
iter
::
FromIterator
;
pub
fn
sort
<
'a>(apis: &'
a
[
Api
],
types
:
&
Types
)
->
Vec
<&
'
a
Api
>
{
// TODO https://github.com/dtolnay/cxx/issues/292
let
_
=
types
;
Vec
::
from_iter
(
apis
)
}