# sqlez: Remove stray println in Statement::single \(\#63151\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0b1bf8dc62f11f8eab1407a55fd2871a8f468c50)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0b1bf8dc62f11f8eab1407a55fd2871a8f468c50

Requested commit: 0b1bf8dc62f11f8eab1407a55fd2871a8f468c50

Commit: 0b1bf8dc62f11f8eab1407a55fd2871a8f468c50

Tree: f07350e412b50e85b47d833780f76bbec3351de1

Author: Nanasi

Committer: GitHub

## Message

```
sqlez: Remove stray println in Statement::single (#63151)

# Objective

- Clean up a stray debug `println!("{:?}", std::any::type_name::<R>());`
statement in `Statement::single` that was left in production code.
- Prevent unintended output to standard output whenever single-row
database queries are executed.

## Solution

- Removed the `println!` call from `crates/sqlez/src/statement.rs`
inside `Statement::single`.

## Testing

- Existing unit and integration tests in `crates/sqlez` cover
`Statement::single` query execution.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-
checklist) and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

    ---

Release Notes:

- N/A
```

## Parents

- [eb96feb80a1f330178ca4616dec308b10d39bd73](https://git.cafe/gitcafe/zed/commit/eb96feb80a1f330178ca4616dec308b10d39bd73?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0b1bf8dc62f11f8eab1407a55fd2871a8f468c50?format=markdown)
