Squashed 'lib/vscode/' content from commit e5a624b788

git-subtree-dir: lib/vscode
git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
This commit is contained in:
Joe Previte
2020-12-15 15:52:33 -07:00
commit be3e823608
4649 changed files with 1311795 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
impl Foo<A,B>
where A: B
{ }
impl Foo<A,B> for C
where A: B
{ }
impl Foo<A,B> for C
{
fn foo<A,B> -> C
where A: B
{ }
}
fn foo<A,B> -> C
where A: B
{ }
struct Foo<A,B>
where A: B
{ }
trait Foo<A,B> : C
where A: B
{ }

View File

@@ -0,0 +1,15 @@
use std::io;
fn main() {
println!("Guess the number!");
println!("Please input your guess.");
let mut guess = String::new();
io::stdin().read_line(&mut guess)
.ok()
.expect("Failed to read line");
println!("You guessed: {}", guess);
}