mirror of
https://github.com/krahets/hello-algo.git
synced 2025-02-03 07:01:55 +08:00
🐞 fix(codes/time_complexity): fix rust attribut error
This commit is contained in:
parent
d0359378f3
commit
d710a3ffdf
@ -1,11 +1,10 @@
|
||||
#![allow(unused_variables)]
|
||||
/**
|
||||
* File: time_complexity.cpp
|
||||
* Created Time: 2023-01-10
|
||||
* Author: xBLACICEx (xBLACKICEx@outlook.com )
|
||||
*/
|
||||
|
||||
#[allow(unused_variables)]
|
||||
|
||||
/* 常数阶 */
|
||||
fn constant(n: i32) -> i32 {
|
||||
let mut count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user