Commit Graph

  • 823ec0ad00 Move is the default in Rust master Stephan Rehfeld 2026-04-08 19:03:40 +02:00
  • 019fbcf095 use unwrap_or to get default value Stephan Rehfeld 2026-04-08 18:46:40 +02:00
  • 20c675ef91 You can use unwrap to get value. Panics, if result is Err Stephan Rehfeld 2026-04-08 18:43:12 +02:00
  • 6e0e031b12 Optional and Result for optional parameters and functions that may fail. Stephan Rehfeld 2026-04-08 18:41:31 +02:00
  • d5427c96ca Enum values can contain futher values. Use pattern matching to access. Stephan Rehfeld 2026-04-08 18:19:44 +02:00
  • 092e5693b7 Simple enum with match Stephan Rehfeld 2026-04-08 18:16:15 +02:00
  • 04520ffa1e Ranges can be reversed Stephan Rehfeld 2026-04-08 18:05:35 +02:00
  • c77982c642 Range syntax Stephan Rehfeld 2026-04-08 18:05:06 +02:00
  • 97e5c2fd72 For loop over array Stephan Rehfeld 2026-04-08 18:03:28 +02:00
  • 6316eb4e02 Loops can returns values Stephan Rehfeld 2026-04-08 17:54:28 +02:00
  • c6bba1c4a7 Loop loop Stephan Rehfeld 2026-04-08 17:46:17 +02:00
  • cbc1663ad2 While loop Stephan Rehfeld 2026-04-08 17:43:28 +02:00
  • 72541ec0a1 If can return values Stephan Rehfeld 2026-04-08 17:41:15 +02:00
  • 8779759e7a Simple if condifition Stephan Rehfeld 2026-04-08 17:38:35 +02:00
  • f899a55a08 Our code so far. Stephan Rehfeld 2026-04-08 17:28:43 +02:00