Browse Source

Clean up minor leftover comments

pull/135/head
Ian Chamberlain 1 year ago
parent
commit
0ff7cae9b4
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 1
      .github/workflows/ci.yml
  2. 6
      ctru-rs/src/os.rs

1
.github/workflows/ci.yml

@ -27,7 +27,6 @@ jobs: @@ -27,7 +27,6 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v2
# TODO point to to rust3ds/test-runner once migrated
- uses: rust3ds/test-runner/setup@v1
with:
toolchain: ${{ matrix.toolchain }}

6
ctru-rs/src/os.rs

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
///
/// # Example
/// ```
/// # // let _runner = test_runner::GdbRunner::default();
/// # let _runner = test_runner::GdbRunner::default();
/// let firm_version = ctru::os::firm_version();
/// assert_ne!(firm_version.major(), 0);
///
@ -61,7 +61,7 @@ pub fn kernel_version() -> Version { @@ -61,7 +61,7 @@ pub fn kernel_version() -> Version {
///
/// # Example
/// ```
/// # // let _runner = test_runner::GdbRunner::default();
/// # let _runner = test_runner::GdbRunner::default();
/// let all_memory = ctru::os::MemRegion::All;
///
/// assert!(all_memory.size() > 0);
@ -111,7 +111,7 @@ impl MemRegion { @@ -111,7 +111,7 @@ impl MemRegion {
/// # Example
///
/// ```
/// # // let _runner = test_runner::GdbRunner::default();
/// let _runner = test_runner::GdbRunner::default();
/// let strength = ctru::os::WifiStrength::current();
/// assert!((strength as u8) < 4);
/// ```

Loading…
Cancel
Save