Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
tanruixiang committed Sep 18, 2023
1 parent 826d8b0 commit d6e4af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/library-user-guide/catalogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ pub struct MemoryCatalogList {
```

With that the `CataLogList` trait can be implemented.

```rust
impl CatalogList for MemoryCatalogList {
fn as_any(&self) -> &dyn Any {
Expand All @@ -202,6 +203,7 @@ impl CatalogList for MemoryCatalogList {
}
}
```

Like other traits, it also maintains the mapping of the Catalog's name to the CatalogProvider.

## Recap
Expand Down

0 comments on commit d6e4af6

Please sign in to comment.