-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86a4ca3
commit 499a6c8
Showing
4 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,8 @@ def setup(app): | |
{ | ||
"fn": { | ||
}, | ||
"struct": { | ||
}, | ||
"var": { | ||
}, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
primes.rs | ||
========= | ||
|
||
View source code `here on GitHub! <https://github.com/LivInTheLookingGlass/Euler/blob/master/rust/src/primes.rs>`_ | ||
|
||
.. rust:struct:: primes::Eratosthenes | ||
.. rust:fn:: primes::Eratosthenes::new() -> Eratosthenes | ||
.. rust:fn:: primes::Eratosthenes::with_limit(limit: u64) -> Eratosthenes | ||
.. rust:fn:: primes::Eratosthenes::next() -> Option<u64> | ||
.. rust:struct:: primes::PrimeFactors | ||
.. rust:fn:: primes::PrimeFactors::new() -> PrimeFactors | ||
.. rust:fn:: primes::PrimeFactors::next() -> Option<u64> | ||
.. literalinclude:: ../../rust/src/p0001.rs | ||
:language: rust | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters