Remove note about missing ios/tvos targets in platform docs.

I misunderstood how this works, and I have fixed the linux builds
to support ios/tvos.
This commit is contained in:
Eric Huss 2020-09-25 12:09:06 -07:00
parent c29a29cba0
commit de725fe56f
2 changed files with 8 additions and 11 deletions

View file

@ -25,8 +25,6 @@ fn main() {
let doc_targets: HashSet<_> = doc_targets_md
.lines()
.filter(|line| line.starts_with('`') && line.contains('|'))
// These platforms only exist on macos.
.filter(|line| !line.contains("[^apple]") || cfg!(target_os = "macos"))
.map(|line| line.split('`').skip(1).next().expect("expected target code span"))
.collect();