We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents face682 + 408895d commit 5f410feCopy full SHA for 5f410fe
src/libcore/mem/mod.rs
@@ -374,13 +374,13 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
374
/// will do a single needs_drop check for all the values.
375
///
376
/// Types like Vec therefore just `drop_in_place(&mut self[..])` without using
377
-/// needs_drop explicitly. Types like HashMap, on the other hand, have to drop
+/// needs_drop explicitly. Types like `HashMap`, on the other hand, have to drop
378
/// values one at a time and should use this API.
379
380
381
/// # Examples
382
383
-/// Here's an example of how a collection might make use of needs_drop:
+/// Here's an example of how a collection might make use of `needs_drop`:
384
385
/// ```
386
/// use std::{mem, ptr};
0 commit comments