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

How to work with Rust? #221

Open
AuroraLantean opened this issue Feb 2, 2023 · 0 comments
Open

How to work with Rust? #221

AuroraLantean opened this issue Feb 2, 2023 · 0 comments

Comments

@AuroraLantean
Copy link

AuroraLantean commented Feb 2, 2023

Why does my Rust-Analyzer not work after installing this extionsion???
Why does my Rust code below got highlighted by the default setting of
"todohighlight.keywordsPattern": "TODO:|FIXME:|\\(([^)]+)\\)", //highlightTODO:,FIXME:` or content between parentheses`` ?

pub async fn get_all_todos(State(db): State<MySqlPool>) -> impl IntoResponse {
        let res: Result<Vec<Self>, sqlx::Error> = sqlx::query_as(
            "SELECT id, title, description, status
            from todos
          ",
        )
        .fetch_all(&db)
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

No branches or pull requests

1 participant