Skip to content

Commit bf74cc7

Browse files
committed
Slight tweaks
1 parent 3d4355b commit bf74cc7

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ This change does not affect existing code that uses or implements `Hash`, but it
2020

2121
```rust
2222
#[cgp_impl(HashWithDisplay)]
23-
impl<T: Display> HashProvider for T { ... }
23+
impl HashProvider
24+
where
25+
Self: Display,
26+
{ ... }
2427
```
2528

2629
You can then apply and reuse this implementation on any type by using the `delegate_components!` macro:

docusaurus.config.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const config: Config = {
8484
src: 'img/cgp-logo.svg',
8585
},
8686
items: [
87-
{to: '/docs/intro', label: 'Tutorial', position: 'left'},
87+
{to: '/docs/tutorials/hello', label: 'Tutorial', position: 'left'},
8888
{to: '/docs', label: 'Docs', position: 'left'},
8989
{to: '/blog', label: 'Blog', position: 'left'},
9090
{
@@ -101,8 +101,12 @@ const config: Config = {
101101
title: 'Docs',
102102
items: [
103103
{
104-
label: 'Tutorial',
105-
to: '/docs/intro',
104+
label: 'Introduction',
105+
to: '/docs',
106+
},
107+
{
108+
label: 'Tutorials',
109+
to: '/docs/category/tutorials',
106110
},
107111
],
108112
},

0 commit comments

Comments
 (0)