Skip to content

Conversation

@scrc-cg-pr-from-issue
Copy link
Contributor

This PR was automatically generated from issue #137.

Authored by: @darkwisebear

Closes #137.

Co-authored-by: darkwisebear <darkwisebear@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for scrc-coding-guidelines failed.

Name Link
🔨 Latest commit dc5442e
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/692f8be1c870fe0008527e44

Copy link
Contributor

@iglesias iglesias left a comment

Choose a reason for hiding this comment

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

A few styling nits in the code blocks.

int get_name_size(const char* path, file_info* info_out) { ... }
```
```rust
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```rust

} file_info;
int get_name_size(const char* path, file_info* info_out) { ... }
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```


.. code-block:: rust
/* C side */
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* C side */
/* C side */


.. code-block:: rust
/* C side */
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* C side */
/* C side */

int get_name_size(const char* path, file_info* info_out) { ... }
```
```rust
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```rust

} file_info;
int get_name_size(const char* path, file_info* info_out) { ... }
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```

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.

[Coding Guideline]: Use matching types at the language boundary

4 participants