about summary refs log tree commit diff
path: root/library/std/src/sys/hermit/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-04-12 01:04:07 +0200
committerGitHub <noreply@github.com>2021-04-12 01:04:07 +0200
commit269abd886b66d78d567cd2100963d0c3d9e46a0f (patch)
treeef34f7cf6ec9c810264c391152010d374509a279 /library/std/src/sys/hermit/stack_overflow.rs
parent7b63125c0a386cd839eb459ed9cbddfaeb605968 (diff)
parentc2f4a5b9f90428b804da08d554f608a9b58c3c05 (diff)
downloadrust-269abd886b66d78d567cd2100963d0c3d9e46a0f.tar.gz
rust-269abd886b66d78d567cd2100963d0c3d9e46a0f.zip
Rollup merge of #84067 - rust-lang:steveklabnik-patch-1, r=joshtriplett
clean up example on read_to_string

This is the same thing, but simpler.

This came out of a comment from a user: https://news.ycombinator.com/item?id=25318117 but rather than hide the signature of main, I think a `use` plus not including the `'static` makes more sense.
Diffstat (limited to 'library/std/src/sys/hermit/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions