This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# usage: curl -fsSL https://gist.githubusercontent.com/<user>/<id>/raw/<id>/is-curl.sh | sh -s -- --from-curl | |
curl=false | |
case "$@" in | |
-c|--from-curl) curl=true | |
esac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rust errors help developers understand problems with their code. | |
error: `life` does not live long enough | |
--> src/human.rs:74:4 | |
| | |
74 | life.do_something_productive(); | |
| ^^^^ does not live long enough | |
92 | } | |
| - your life lasts until here, while the crab is immortal |