Skip to content

fix docs format#2492

Merged
yihau merged 5 commits intoanza-xyz:masterfrom
yihau:fix-docs-1
Aug 11, 2024
Merged

fix docs format#2492
yihau merged 5 commits intoanza-xyz:masterfrom
yihau:fix-docs-1

Conversation

@yihau
Copy link
Member

@yihau yihau commented Aug 8, 2024

(part of #2487)

Problem

Screenshot 2024-08-08 at 21 49 51

docs take a stricter approach to indentation rules…

Summary of Changes

fix it

@yihau yihau marked this pull request as ready for review August 8, 2024 16:35
@yihau yihau requested a review from brooksprumo August 8, 2024 16:35
@yihau
Copy link
Member Author

yihau commented Aug 9, 2024

thank you! just committed those 2 changes 🫡

Comment on lines 47 to 48
/// Operations like shrinking or write cache flushing may have updated the index between when the caller read the index and called this function to
/// load from the append vec specified in the index.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the extra leading spaces can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for catching this one! fixed: 1b6f399

//! 2. multiple 'slots' squashed into a single older (ie. ancient) slot for convenience and performance
//! Otherwise, an ancient append vec is the same as any other append vec
//!
//! Otherwise, an ancient append vec is the same as any other append vec

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here! 828cad4 thank you very much! I almost commit a weird docs format into master 🙈

Copy link

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@yihau yihau merged commit 5980c08 into anza-xyz:master Aug 11, 2024
@yihau yihau deleted the fix-docs-1 branch August 11, 2024 09:15
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
* docs fix: accounts-db

* Update accounts-db/src/account_storage.rs

Co-authored-by: Brooks <[email protected]>

* Update accounts-db/src/ancient_append_vecs.rs

Co-authored-by: Brooks <[email protected]>

* remove redundant indent

* remove redundant indent

---------

Co-authored-by: Brooks <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants