Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust lang expected item found let

'let' can only be used in a function.
It could be that you just need to move your statement into a function
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rust #lang #expected #item
ADD COMMENT
Topic
Name
2+9 =