tuple::new can take any type of number

This commit is contained in:
Jon Janzen
2022-01-01 16:30:51 -07:00
parent b2ec53525d
commit 71fc73bf1a
7 changed files with 63 additions and 6 deletions

45
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,45 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ray-tracer'",
"cargo": {
"args": [
"build",
"--bin=ray-tracer",
"--package=ray-tracer"
],
"filter": {
"name": "ray-tracer",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'ray-tracer'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=ray-tracer",
"--package=ray-tracer"
],
"filter": {
"name": "ray-tracer",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}