Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
davidl.me
David's Wiki
Search
Search
Log in
Personal tools
Log in
Rust (programming language): Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
Special pages
Printable version
← 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,321
edits
Toggle limited content width