Skip to content

Commit 36d9c13

Browse files
committedJul 17, 2024··
rpt 36 sns
1 parent 768ad26 commit 36d9c13

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎content/blog/rust-pro-tips-collection.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ This is a collection of Rust "pro tips" that I've collected, most of which have
1414

1515
## 36. Specify the type of `self` in method signatures
1616

17-
<!--
18-
[Tweet]() [Toot]()
19-
-->
17+
[Tweet](https://x.com/sudo_build/status/1813491727174709278) [Toot](https://infosec.exchange/@hatchet/112800895144267784)
2018

2119
While the three most common types of the `self` parameter have useful shorthands (`self`, `&self`, `&mut self`), the explicit syntax can also include standard library types that deref to `Self`, including `Box<T>`, `Rc<T>`, `Arc<T>`.
2220

0 commit comments

Comments
 (0)