Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit 2d35f62

Browse files
committed
Fixed a few comments to make it compilable again
1 parent e7b1bd8 commit 2d35f62

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/zinc/hal/systick.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ This might be merged into generic timer interface. Systick is a bit specific in
2020
terms of interrupts, but PT should make the difference negligible.
2121
*/
2222

23+
/// A simple systick interface.
24+
#[experimental]
2325
pub trait Systick {
2426
/// Starts the systick timer.
2527
fn start(&self);

src/zinc/os/sched/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
/// Tasks scheduling and management.
16+
//! Tasks scheduling and management.
1717
1818
pub mod scheduler;
1919
pub mod stack;

src/zinc/os/sched/stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
/// Tasks stack management.
16+
//! Tasks stack management.
1717
1818
/// StackManager provides scheduler with interface to manage task-specific stack
1919
/// pointer.

src/zinc/os/sched/task.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
/// Task structures.
16+
//! Task structures.
1717
1818
use core::kinds::marker;
1919

@@ -45,5 +45,6 @@ pub struct TasksIndex<'a> {
4545
/// Current running task index.
4646
pub current_task_index: u8,
4747

48+
/// Tasks are not copyable.
4849
pub no_copy: marker::NoCopy,
4950
}

0 commit comments

Comments
 (0)