Debian Codegraph @

examples/source-for-docker.rs

raw symbols SCIP
1 use apt_sourcesrust-analyzer cargo apt-sources 0.3.0 crate/::Repositoriesrust-analyzer cargo apt-sources 0.3.0 Repositories#;
2 use indocrust-analyzer cargo indoc 2.0.7 crate/::indocrust-analyzer cargo indoc 2.0.7 indoc!;
3
4 pub const TEXTrust-analyzer cargo apt-sources 0.3.0 TEXT.: &str = indocrust-analyzer cargo indoc 2.0.7 indoc!! {r#"
5 Types: deb
6 URIs: https://download.docker.com/linux/ubuntu
7 Suites: noble
8 Components: stable
9 Architectures: amd64
10 Signed-By: /usr/share/keyrings/docker.gpg
11 "#};
12
13 pub fn mainrust-analyzer cargo apt-sources 0.3.0 main().() {
14 let repos = TEXTrust-analyzer cargo apt-sources 0.3.0 TEXT..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().::<Repositoriesrust-analyzer cargo apt-sources 0.3.0 Repositories#>().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
15 let suites = repos[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()..suitesrust-analyzer cargo apt-sources 0.3.0 impl#[Repository]suites().();
16 printlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/println!!("{}", suites.joinrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc slice/impl#[`[T]`]join().(" "));
17 }