-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Description
Some places use # Examples
others use ## Examples
:
#
:
rust/src/libstd/collections/hashmap.rs
Line 692 in 4f120e6
/// # Example Line 23 in 4f120e6
# Task-local RNG Line 24 in 4f120e6
# Examples
##
:
rust/src/libcollections/slice.rs
Line 26 in 4f120e6
## Structs Line 26 in 4f120e6
## Examples Line 24 in 4f120e6
//! ## Owned pointers
It seems that single #
is far more popular at the moment:
$ git grep ' # ' -- '*.rs' | wc -l
922
$ git grep ' ## ' -- '*.rs' | wc -l
62
Metadata
Metadata
Assignees
Labels
No labels