Archives
2026
Apr 16
84. Result::flatten — Unwrap Nested Results in One CallApr 15
83. Arc::unwrap_or_clone — Take Ownership Without the DanceApr 15
82. isqrt — Integer Square Root Without Floating PointApr 14
81. checked_sub_signed — Subtract a Signed Delta From an Unsigned Without CastsApr 14
80. VecDeque::pop_front_if and pop_back_if — Conditional Pops on Both EndsApr 13
79. #[diagnostic::on_unimplemented] — Custom Error Messages for Your TraitsApr 13
78. div_ceil — Divide and Round Up Without the Overflow BugApr 12
77. repeat_n — Repeat a Value Exactly N TimesApr 12
76. slice::as_chunks — Split Slices into Fixed-Size ArraysApr 11
75. select_nth_unstable — Find the Kth Element Without SortingApr 11
74. slice::is_sorted — Ask the Slice if It's Already SortedApr 10
73. u64::midpoint — Average Two Numbers Without OverflowApr 10
72. if let Guards — Pattern Match Inside Match GuardsApr 09
71. Inline const Blocks — Compile-Time Evaluation AnywhereApr 09
70. Iterator::intersperse — Join Elements Without Collecting FirstApr 08
69. Iterator::try_fold — Fold That Knows When to StopApr 08
68. f64::next_up — Walk the Floating Point Number LineApr 07
67. Box::leak — Turn Owned Data Into a Static ReferenceApr 07
66. Inferred Const Generics — Let the Compiler Count For YouApr 06
65. Precise Capturing — Stop impl Trait From Borrowing Too MuchApr 06
64. Iterator::unzip — Split Pairs into Separate CollectionsApr 05
63. fmt::from_fn — Display Anything With a ClosureApr 05
62. Iterator::flat_map — Map and Flatten in One StepApr 04
61. Iterator::reduce — Fold Without an Initial ValueApr 04
60. Iterator::partition — Split a Collection in TwoApr 03
59. split_first_chunk — Destructure Slices into ArraysApr 03
58. Option::is_none_or — The Guard Clause You Were MissingApr 02
57. New Math Constants — GOLDEN_RATIO and EULER_GAMMA in stdApr 02
56. Iterator::map_while — Take While TransformingApr 01
55. floor_char_boundary — Truncate Strings Without Breaking UTF-8Apr 01
54. Cell::update — Modify Interior Values Without the GymnasticsMar 31
53. element_offset — Find an Element's Index by ReferenceMar 31
52. Peekable::next_if_map — Peek, Match, and Transform in One StepMar 30
51. File::lock — File Locking in the Standard LibraryMar 30
50. slice::chunk_by — Group Consecutive ElementsMar 29
49. std::io::pipe — Anonymous Pipes in the Standard LibraryMar 29
48. #[expect] — Lint Suppression That Cleans Up After ItselfMar 28
47. Vec::pop_if — Conditionally Pop the Last ElementMar 28
46. Let Chains — Flatten Nested if-let with &&Mar 27
45. get_disjoint_mut — Multiple Mutable References at OnceMar 27
44. split_once — Split a String Exactly OnceMar 25
43. Vec::extract_if — Remove Elements and Keep ThemMar 25
42. array::from_fn — Build Arrays from a FunctionMar 24
40. Scoped Threads — Borrow Across Threads Without ArcMar 24
41. Async Closures — Pass Async Code Like Any Other ClosureMar 23
39. Trait Upcasting — Cast dyn Trait to dyn SupertraitMar 23
38. #[must_use] — Never Ignore What MattersMar 22
36. Cow<str> — Clone on WriteMar 22
37. Option::zipMar 21
35. LazyLockMar 21
33. std::mem::takeMar 21
34. array_windowsMar 20
32. iter::successorsMar 20
31. HashMap's entry APIMar 19
30. dbg! macroMar 19
29. Let chains
2023
2022
Dec 24
24. ..=XDec 24
25. Option's iteratorDec 06
23. Enum's default valueNov 11
22. Enum's DebugOct 22
21. Zip longestSep 11
20. let-else statementsAug 18
19. breaking from labeled blocksJul 13
18. flatten optionsJun 10
16. Option/Result match?!Apr 20
14. Find index of itemApr 20
15. ScanMar 20
12. EnumerateMar 20
13. FoldMar 20
17. filter_mapMar 19
11. FuseFeb 25
10. cloned vs copiedFeb 15
9. Inspecting iteratorFeb 10
8. DrainFeb 05
7. iter() vs into_iter()Jan 30
6. non-exhaustive enumsJan 25
5. Loop breaks and labelsJan 20
4. Option -> ResultJan 15
3. Result -> OptionJan 10
2. mysterious @Jan 05
1. matches!Jan 01
0. Hello, rustbites!