Fix logging rules with whitespace around dot (#6022)

## Summary

Attempting to fix, e.g., `logging . warn("Hello World!")` was causing a
syntax error.
This commit is contained in:
Charlie Marsh
2023-07-24 01:14:48 -04:00
committed by GitHub
parent 0d94337b96
commit 33196f1859
4 changed files with 89 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
#[derive(Copy, Clone)]
#[derive(Debug, Copy, Clone)]
pub enum LoggingLevel {
Debug,
Critical,