Replace '/*' style comments with '//' style, which is recommended officially

This commit is contained in:
Hidehito Yabuuchi
2018-10-06 21:20:24 +09:00
committed by Levente Kurusa
parent ffd4cd70e2
commit adc3323be4
13 changed files with 39 additions and 35 deletions
+2 -2
View File
@@ -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
}