Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch-handbook/driverbasics: use tabs to indent the example code #319

Closed
wants to merge 1 commit into from

Conversation

rilysh
Copy link
Contributor

@rilysh rilysh commented Jan 2, 2024

In the "Writing FreeBSD Device Drivers" page, the first example uses 2 characters (spaces) to indent the code. Since FreeBSD uses tabs (8 characters) to indent and as the second example also follows this, it's better to just use tabs here as well.

Link: https://docs.freebsd.org/en/books/arch-handbook/driverbasics/
Diff: https://github.com/mystuffs/freebsd-doc-fork/commit/eaf08bae727ea46737b87a938e513036dfe42a7c.diff

In the "Writing FreeBSD Device Drivers" page, the first example
uses 2 characters (spaces) to indent the code. Since FreeBSD
uses tabs (8 characters) to indent and as the second example
also follows this, it's better to just use tabs here as well.

Link: https://docs.freebsd.org/en/books/arch-handbook/driverbasics/

Signed-off-by: rilysh <nightquick@proton.me>
Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

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

👍

@dbaio dbaio added the ready label Feb 24, 2024
freebsd-git pushed a commit that referenced this pull request Feb 24, 2024
In the "Writing FreeBSD Device Drivers" page, the first example
uses 2 characters (spaces) to indent the code. Since FreeBSD
uses tabs (8 characters) to indent and as the second example
also follows this, it's better to just use tabs here as well.

Link: https://docs.freebsd.org/en/books/arch-handbook/driverbasics/

Reviewed by:	Mina Galić <freebsd@igalic.co>, dbaio
Pull Request:	#319
Signed-off-by:	rilysh <nightquick@proton.me>
@dbaio dbaio added merged and removed ready labels Feb 24, 2024
@dbaio
Copy link
Member

dbaio commented Feb 24, 2024

Committed on ae39070.
Thank you!

@dbaio dbaio closed this Feb 24, 2024
@dbaio dbaio self-assigned this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants