Add clippy configuration
This commit is contained in:
parent
5370126e2c
commit
0adbf28b5c
2 changed files with 4 additions and 0 deletions
1
clippy.toml
Normal file
1
clippy.toml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
doc-valid-idents = ["LDAP", ".."]
|
|
@ -16,6 +16,9 @@
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#![warn(clippy::pedantic, clippy::as_conversions)]
|
||||||
|
#![forbid(unsafe_code)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello, world!");
|
println!("Hello, world!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue