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

normalize logs capital letter #463

Merged
merged 2 commits into from
Jul 22, 2022
Merged

normalize logs capital letter #463

merged 2 commits into from
Jul 22, 2022

Conversation

leviska
Copy link
Contributor

@leviska leviska commented Jul 15, 2022

PR Type

Refactor / Code Style

PR Checklist

Check your PR fulfills the following:

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt

(not sure if my pr should tick other boxes, although some words in docs/code style would probably help)

Overview

It seems that most packages in Rust uses lower case letters at the begging of the logs, and also Go code style recommends same style.
This crate uses a mix of upper and lower case, so I've decided to fix it to lower where appropriate.
I've searched for debug/trace/info/warn/error keywords and changed the letters, if it isn't a common upper case abbreviation.

@JohnTitor
Copy link
Member

criterion's dependency started to use edition 2021, I think testing on MSRV has some benefits (e.g. making sure it works by tests), and bumping MSRV to 1.56 would be fine (actix-web's MSRV is 1.57, so it shouldn't make much difference IMO). @robjtede Any objections?

@robjtede robjtede merged commit 126ed4c into actix:master Jul 22, 2022
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.

3 participants