Little fixes
This commit is contained in:
parent
efc6f54424
commit
7f1994ed9a
@ -217,25 +217,7 @@ Too big!
|
|||||||
Number? 45
|
Number? 45
|
||||||
You win!
|
You win!
|
||||||
Number?
|
Number?
|
||||||
|
...
|
||||||
thread '<unnamed>' panicked at 'Please type a number!: ParseIntError { kind: Empty }', src/lib.rs:133:43
|
|
||||||
stack backtrace:
|
|
||||||
0: rust_begin_unwind
|
|
||||||
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5
|
|
||||||
1: core::panicking::panic_fmt
|
|
||||||
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14
|
|
||||||
2: core::result::unwrap_failed
|
|
||||||
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/result.rs:1616:5
|
|
||||||
3: run_user_code_5
|
|
||||||
4: evcxr::runtime::Runtime::run_loop
|
|
||||||
5: evcxr::runtime::runtime_hook
|
|
||||||
6: evcxr_jupyter::main
|
|
||||||
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
|
|
||||||
Segmentation fault.
|
|
||||||
|
|
||||||
|
|
||||||
Child process terminated with status: signal: 11 (core dumped)
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
Funktioniert, aber selbst nach dem Erraten passiert nichts und wir
|
Funktioniert, aber selbst nach dem Erraten passiert nichts und wir
|
||||||
|
@ -18,7 +18,7 @@ Das Folgende funktioniert also nicht:
|
|||||||
----
|
----
|
||||||
fn main() {
|
fn main() {
|
||||||
let x = "Hello world!";
|
let x = "Hello world!";
|
||||||
// Das folgende funktioniert ist, weil x nicht mutable ist!
|
// Das folgende funktioniert, weil x nicht mutable ist!
|
||||||
x = "Hello Rust!";
|
x = "Hello Rust!";
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
Loading…
Reference in New Issue
Block a user