Show value for consts in the documentation
This commit is contained in:
parent
625375400c
commit
811bdeee00
11 changed files with 192 additions and 16 deletions
|
@ -17,14 +17,14 @@ pub struct VSet<T, const ORDER: Order> {
|
|||
inner: Vec<T>,
|
||||
}
|
||||
|
||||
// @has foo/struct.VSet.html '//h3[@id="impl"]/code' 'impl<T> VSet<T, { Order::Sorted }>'
|
||||
// @has foo/struct.VSet.html '//h3[@id="impl"]/code' 'impl<T> VSet<T, {Order::Sorted}>'
|
||||
impl <T> VSet<T, {Order::Sorted}> {
|
||||
pub fn new() -> Self {
|
||||
Self { inner: Vec::new() }
|
||||
}
|
||||
}
|
||||
|
||||
// @has foo/struct.VSet.html '//h3[@id="impl-1"]/code' 'impl<T> VSet<T, { Order::Unsorted }>'
|
||||
// @has foo/struct.VSet.html '//h3[@id="impl-1"]/code' 'impl<T> VSet<T, {Order::Unsorted}>'
|
||||
impl <T> VSet<T, {Order::Unsorted}> {
|
||||
pub fn new() -> Self {
|
||||
Self { inner: Vec::new() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue