Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit d56d41a

Browse files
committed
Turn some shell scripts into Rust files
1 parent 3ab0e44 commit d56d41a

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

ices/88599.sh renamed to ices/88599.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/bin/bash
2-
3-
rustc --crate-type lib - << EOF
1+
#![crate_type = "lib"]
42

53
pub trait First {
64
const CONST: bool;
@@ -18,5 +16,3 @@ pub trait Foo {
1816
impl <'a> Foo for () where &'a Self: Foo {
1917
const CONST: bool = <&Self>::CONST;
2018
}
21-
22-
EOF
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#!/bin/bash
2-
3-
rustc --crate-type lib - << EOF
1+
#![crate_type = "lib"]
42

53
use std::collections::HashMap;
64

@@ -13,7 +11,3 @@ pub trait WidgetExt {
1311
}
1412

1513
static CALLBACKS: HashMap<*const dyn WidgetExt, dyn FnMut(&mut _) + 'static> = HashMap::new();
16-
17-
pub fn main() {}
18-
19-
EOF

0 commit comments

Comments
 (0)