Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
Rust (programming language): Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Rust (programming language)
(view source)
Revision as of 05:14, 23 June 2021
2 bytes removed
,
23 June 2021
→Borrowing
Revision as of 05:14, 23 June 2021
(
view source
)
David
(
talk
|
contribs
)
(
→Borrowing
)
← Older edit
Revision as of 05:14, 23 June 2021
(
view source
)
David
(
talk
|
contribs
)
(
→Borrowing
)
Newer edit →
Line 54:
Line 54:
# C++: const int &
# C++: const int &
fill_vec_borrow
(&x)
example_borrow
(&x)
# C++: int&
# C++: int&
fill_vec_mut_borrow
(&mut y)
example_mut_borrow
(&mut y)
</syntaxhighlight>
</syntaxhighlight>
David
Bureaucrats
,
Interface administrators
,
Administrators
5,337
edits