משך חיים בפונקציה עם פרמטר אחד

source code

timestamp: 2024-11-01T14:30:01

  • lifetime If a function has only one parameter Rust has a defult understanding of the lifetime of that parameter. Sometimes it is incorrect.