mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
Replace '/*' style comments with '//' style, which is recommended officially
This commit is contained in:
committed by
Levente Kurusa
parent
ffd4cd70e2
commit
adc3323be4
+2
-2
@@ -37,7 +37,7 @@ impl Controller for HugeTlbController {
|
||||
}
|
||||
|
||||
fn apply(&self, res: &Resources) -> Result<(), CgroupError> {
|
||||
/* get the resources that apply to this controller */
|
||||
// get the resources that apply to this controller
|
||||
let res: &HugePageResources = &res.hugepages;
|
||||
|
||||
if res.update_values {
|
||||
@@ -93,7 +93,7 @@ impl HugeTlbController {
|
||||
|
||||
/// Whether the system supports `hugetlb_size` hugepages.
|
||||
pub fn size_supported(&self, _hugetlb_size: String) -> bool {
|
||||
/* TODO */
|
||||
// TODO
|
||||
true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user